Paho c++ build problem [message #1695641] |
Mon, 18 May 2015 10:32 |
Mohcine BARAZZOUQ 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 ?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03418 seconds