|mqtt on raspberry pi [message #1760472]
||Thu, 27 April 2017 14:58
| Jason Kao
Registered: April 2017
Hi everyone, I'm new to 4diac and I want to use mqtt protocol on raspberry pi.|
I follow the steps on the website but get confused with some points.
First, after I git-cloned the org.eclipse.paho.mqtt.c, it is said that I have to open the <paho src code>. However, under the src directory, there are no Makefile. The Makefile only exists in the paho.mqtt.c directory. Does this mean that I have to execute "make" in the paho.mqtt.c directory?
Second, it is said that I have to set FORTE_COM_PHAOMQTT folder in CMake. However, I am not sure which directory I should select. Currently, I select the path of paho.mqtt.c directory (i.e. /.../.../.../paho.mqtt.c), but when compiling, there are something wrong. It shows that libpaho-mqtt3a.so file is not recognized.
Any help appreciated. Thank you!
(Size: 45.47KB, Downloaded 229 times)
(Size: 20.01KB, Downloaded 235 times)
[Updated on: Fri, 28 April 2017 03:33]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02158 seconds