The cloudio-endpoint-cplusplus uses 3 libraries when deployed on device with an operating system:
Follow the Eclipse instruction on how to install from the git repository using CMake. Build the library with PAHO_WITH_SSL! The library is then used in the cloudio-endpoint-cpp CMake project .
There is many way to install the JSON for Modern C++ libraries described heregit repository and official website using CMake.
However we recommend compiling it from source:
git clone https://github.com/nlohmann/json
cd json/
mkdir build && cd build
cmake ..
make
sudo make install
You will need to clone the library in the same parent folder as the cloud.iO cpp library to make the compiling work.
Execute ./build.sh
as described in the git repository. The script
CMake as per the other libraries. The library is then used in the cloudio-endpoint-cpp CMake project.
Clone this git repository and build the CMake project. Once built, you can integrate the library with its dependency in your own CMake project. You can follow the example file of in the CMakeExample folder.