Clone this wiki locally
To build the RTRlib the CMake build system must be installed. If you want to establish a connection to an RTR-Server over ssh, the libssh 0.5.x library must also be installed. Doxygen (optional) is required to create the HTML documentation.
(a) Generate Makefile
Without debugging options:
cmake -D CMAKE_BUILD_TYPE=Release .
With debug symbols and debug messages:
cmake -D CMAKE_BUILD_TYPE=Debug .
If the libssh isn't installed within the systems include and library directories you can run cmake with the following parameters:
To specify another directory where the RTRlib will be installed, you can pass the following argument to cmake:
(b) Build library, tests, and tools
To copy libraries and headers to system directories run (optional, typically requires
4. Linking to RTRlib
The name of the shared library is rtr. To link programs to the RTRlib pass gcc the parameter:
5. API Documentation
The RTRlib includes a HTML documentation of the API. To build it,
doxygen must be installed. The documentation will be located in the docs/ directory after you run