install deploy
preparation
$ sudo apt-get install build-essential gcc make cmake cmake-gui cmake-curses-gui
$ sudo apt-get install libssl-dev
$ sudo apt-get install doxygen graphviz
paho.mqtt.c installation
$ 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
paho.mqtt.cpp installation
$ 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
basically USES
Read More:
- The problem that ActiveMQ and rabbitmq can’t connect to the mqtt server
- MQTT Host name verification failure (SSL) [How to Solve]
- How to Use Truffle to Deploy contracts on moonbeam
- How to Use Apt get Command Under Mac OSX
- onnx-tensorrt/builtin_op_importers.cpp:766:12: error: ‘class nvinfer1::IDeconvolutionLayer’ has no m
- How to Use spatial in MAC
- How to use torch.sum()
- React bootstrap loading and how to use modules
- How to use C + + function pointer array
- How to Use the Reverse() Function
- How to use matlab xlswrite
- configure: error: C++ preprocessor “/lib/cpp” fails sanity check
- How to use matlab to solve equation
- Come and watch! Let’s see how people use Python to visualize the congestion situation of cities
- How to use high version OpenGL under Windows
- Unity Android failed to extract resources needed byil2cpp
- How to Use Subfigure in Latex
- tf.one_ How to use hot ()
- How to use JavaScript in HTML
- C#: How to Use Httpclient to upload files with other parameters