mqtt on raspberry pi [message #1760472] |
Thu, 27 April 2017 14:58 |
Jason Kao Messages: 2 Registered: April 2017 |
Junior Member |
|
|
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!
-
Attachment: mqtt-1.png
(Size: 45.47KB, Downloaded 441 times) -
Attachment: mqtt-2.png
(Size: 20.01KB, Downloaded 402 times)
[Updated on: Fri, 28 April 2017 03:33] Report message to a moderator
|
|
|
|
|
|
Re: mqtt on raspberry pi [message #1760644 is a reply to message #1760585] |
Sat, 29 April 2017 15:17 |
|
Hi,
glad you already solved the issue, with the support of the others.
I did a little writeup for all the needed steps for getting MQTT up and running on the Pi with FORTE.
Maybe someone else will stumble across this thread and finds it useful.
kind regards
Herwig
[Updated on: Sat, 29 April 2017 15:21] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04170 seconds