Skip to content
Snippets Groups Projects
Commit 6d8d81f7 authored by Sebastian Ebert's avatar Sebastian Ebert
Browse files

updated readme

parent 5e79c0a2
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,51 @@ Otherwise, the robot will appear in rviz in a collapsed state. ...@@ -36,7 +36,51 @@ Otherwise, the robot will appear in rviz in a collapsed state.
You can see the full explanation in my [blog post](https://erdalpekel.de/?p=55). You can see the full explanation in my [blog post](https://erdalpekel.de/?p=55).
## Changelog: ## Installing Eclipse Paho MQTT-Client for C++
The build process currently supports a number of Unix and Linux flavors. The build process requires the following tools:
* CMake v3.5 or newer
* GCC v4.8 or newer or Clang v3.9 or newer
* GNU Make
On Debian based systems this would mean that the following packages have to be installed:
```
$ sudo apt-get install build-essential gcc make cmake cmake-gui cmake-curses-gui
```
If you will be using secure sockets (and you probably should):
```
$ sudo apt-get install libssl-dev
```
Before building the C++ library, first, build and install the Paho C library:
```
$ git clone https://github.com/eclipse/paho.mqtt.c.git
$ cd paho.mqtt.c
$ git checkout v1.3.1
$ cmake -Bbuild -H. -DPAHO_WITH_SSL=ON -DPAHO_ENABLE_TESTING=OFF
$ sudo cmake --build build/ --target install
$ sudo ldconfig
```
Build and install the C++ library:
```
$ git clone https://github.com/eclipse/paho.mqtt.cpp
$ cd paho.mqtt.cpp
$ cmake -Bbuild -H. -DPAHO_BUILD_DOCUMENTATION=TRUE -DPAHO_BUILD_SAMPLES=TRUE
$ sudo cmake --build build/ --target install
$ sudo ldconfig
```
(source: https://github.com/eclipse/paho.mqtt.cpp/blob/master/README.md)
## Changelog
#### Safetyzones #### Safetyzones
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment