LibMCP
0.2.0
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.
For Windows your only option to get Poco binaries is to use a package manager like Conan or Vcpkg. Both are listed in the official guide. On the other hand there's always the option to build Poco yourself using CMake - this is described in the next section.
For convenience there's also a Windows PowerShell script that will download, build and install all necessary Poco modules. The following command needs to be executed from within a Windows PowerShell.
-A
can be either "x64" or "Win32" or be omitted.-G
for your system run cmake --help
.-B
can be one of: "Debug", "Release", "MinSizeRel", "RelWithDebInfo".-Static
indicates if Poco should be built shared or static.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.