Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » Paho c++ build problem(Paho c++)
icon4.gif  Paho c++ build problem [message #1695641] Mon, 18 May 2015 10:32 Go to next message
Mohcine BARAZZOUQ is currently offline Mohcine BARAZZOUQFriend
Messages: 4
Registered: May 2015
Junior Member
Hi everybody,

I'm trying to build paho c++ library, and i have the same problem each time.
after buildind building paho c library by using the makefile, i downloaded the paho c++ sources, then i modified the Makefile, i have changed the c library's path.
I get this error message : " undefined reference to...".

Then i have tried to build c++ shared library with qt creator,
i get this error message :
../../org.eclipse.paho.mqtt.cpp/src/async_client.cpp: In constructor 'mqtt::async_client::async_client(const string&, const string&, mqtt::iclient_persistence*)':
../../org.eclipse.paho.mqtt.cpp/src/async_client.cpp:76:3: error: could not convert '{persistence, mqtt::iclient_persistence::persistence_open, mqtt::iclient_persistence::persistence_close, mqtt::iclient_persistence::persistence_put, mqtt::iclient_persistence::persistence_get, mqtt::iclient_persistence::persistence_remove, mqtt::iclient_persistence::persistence_keys, mqtt::iclient_persistence::persistence_clear, mqtt::iclient_persistence::persistence_containskey}' from '<brace-enclosed initializer list>' to 'MQTTClient_persistence'


Could help to resolve this problem ? Sad
Re: Paho c++ build problem [message #1695772 is a reply to message #1695641] Tue, 19 May 2015 08:34 Go to previous messageGo to next message
Benjamin Cabé is currently offline Benjamin CabéFriend
Messages: 201
Registered: July 2009
Location: Toulouse, France
Senior Member

Hi Mohcine,

See https://dev.eclipse.org/mhonarc/lists/paho-dev/msg02752.html


icon14.gif  Re: Paho c++ build problem [message #1696295 is a reply to message #1695772] Mon, 25 May 2015 10:15 Go to previous message
Mohcine BARAZZOUQ is currently offline Mohcine BARAZZOUQFriend
Messages: 4
Registered: May 2015
Junior Member
Hi,

Thank you Benjamin,

Merci beaucoup Wink

[Updated on: Mon, 25 May 2015 10:16]

Report message to a moderator

Previous Topic:Data structure of the messages in MQTT javascript Client PAHO
Next Topic:Paho CClient Compatibility with Linux kernel and GCC version
Goto Forum:
  


Current Time: Tue Apr 23 09:15:43 GMT 2024

Powered by FUDForum. Page generated in 0.02866 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top