Ubuntu 编译安装 kdl
2019-03-28 00:00:00
One-minute read
安装编译相应依赖
sudo apt install libeigen3-dev libeigen3-doc libboost-timer-dev
clone源代码
git clone https://github.com/orocos/orocos_kinematics_dynamics.git
进入到源码目录
cd orocos_kinematics_dynamics/orocos_kdl
创建编译临时目录并进入
mkdir build<br />cd build
```shell
执行cmake
```shell
cmake .. -DBUILD_MODELS=ON -DENABLE_EXAMPLES=ON
如果出现如下结果,表示编译配置成功
-- Orocos KDL version (1.4.0)
-- Build type set to 'Release' by user.
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /xxx/orocos_kinematics_dynamics/orocos_kdl
参考资料:
1. https://blog.csdn.net/gpeng832/article/details/55210758