These install instructions are focused on Debian/Ubuntu systems.
- (Optional) Update apt cache:
sudo apt-get update
- Install EIGEN and cppunit:
sudo apt-get install libeigen3-dev libcppunit-dev
- (Optional) Install
Doxygen
andGraphviz
to generate API-documentation:sudo apt-get install doxygen graphviz
- Clone the repository inside the workspace
- Build with your catkin tool of preference
- Source the workspace
- (Optional) To generate the API-documentation use either rosdoc_lite or catkin_tools_document
- Clone the repository where you want
- Go to the
orocos_kdl
folder":cd orocos_kdl
- Create a new build folder (it is always better not to build in the source folder):
mkdir build
- Go to the build folder
cd build
- Execute cmake:
cmake ..
- (Optional) Adapt
CMAKE_INSTALL_PREFIX
to the desired installation directory - (Optional) To build the tests, add:
-DENABLE_TESTS:BOOL=ON
- (Optional) To change the build type, add:
-DCMAKE_BUILD_TYPE=<DESIRED_BUILD_TYPE>
- (Optional) Adapt
- Compile:
make
- Install the library:
sudo make install
- (Optional) To execute the tests:
make check
- (Optional) To create the API-documentation:
make docs
. The API-documentation will be generated at<builddir>/doc/api/html
.
To uninstall the library: sudo make uninstall