Skip to main content



      Home
Home » Eclipse Projects » Paho » Paho c++ build problem(Paho c++)
icon4.gif  Paho c++ build problem [message #1695641] Mon, 18 May 2015 06:32 Go to next message
Eclipse UserFriend
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 04:34 Go to previous messageGo to next message
Eclipse UserFriend
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 06:15 Go to previous message
Eclipse UserFriend
Hi,

Thank you Benjamin,

Merci beaucoup Wink

[Updated on: Mon, 25 May 2015 06:16] by 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: Wed Jul 23 16:33:13 EDT 2025

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

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

Back to the top