|
LibMCP
0.2.0
API to control MCPnet
|
After installing all dependencies the next step is to build LibMCP. This is tested on both Linux and Windows.
Clone the GitLab repository.
Generate a buildsystem with CMake.
You can also add additional CMake options or project options to the CMake call. The defaults are:
Build the project out of source (still in build directory) and install it to CMAKE_INSTALL_PREFIX.
When building LibMCP as a shared library without installing it globally you need to copy all necessary library files (.dll, .so) next to the executable that requires them (every executable that use LibMCP).
For example libmcp/build/examples/datasheet/ should contain (on Windows with both Poco and LibMCP as shared libraries):
When building the doxygen documentation you might get some warnings like these:
This is due to doxygen bugs 5892 and 7032 which were fixed in version 1.8.16 and 1.8.19 respectively. So either you use a newer version of doxygen or access the documentation from GitLab pages.