|
LibMCP 0.6.1
API to control MCPnet
|
This guide describes where to get the Poco C++ Libraries and (if needed) how to build it.
For reference see the official guide on how to download and build Poco.
Installing Poco on Linux (Debian / Ubuntu) is as easy as
See the ROS index if you're not on a Debian or Ubuntu derivate.
On Windows Poco is installed automatically by vcpkg in manifest mode (see vcpkg.json) when LibMCP is configured with one of the windows-* presets, see Building LibMCP. Nothing has to be installed manually, only VCPKG_ROOT has to point to vcpkg:
VCPKG_ROOT in its developer environment.VCPKG_ROOT to it.Poco is built with the triplet x64-windows-static-md, so it is linked right into MCP.dll and no Poco DLLs have to be shipped.
When LibMCP is included into another project (e.g. with FetchContent), that project has to provide Poco, e.g. with its own vcpkg.json.
Before building Poco you need to download its sources.
From within the Poco source tree, run the following commands:
This will build a shared (use OFF for static) library of every available Poco module. LibMCP only uses Poco::Foundation and Poco::Net. Other modules can be omitted like this:
The install directory defaults to CMAKE_INSTALL_PREFIX. For more options see the Poco CMakeLists.txt.