ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

When linking to Eigen, the problem is that Eigen does not provide a proper CMake module in order to find the location of the libraries, so that EigenConfig.cmake or eigen-config.cmake cannot be found.

Luckily, ROS community has created these files in the package cmake_modules: https://github.com/ros/cmake_modules

You can install this package. Follow the instructions in the README.md of the link given and you should be able to compile it.

I do not know how it works, but not all packages in the wiki can be found through apt-get, it is common that you have to use some of them from source.

When linking to Eigen, the problem is that Eigen does not provide a proper CMake module in order to find the location of the libraries, so that EigenConfig.cmake or eigen-config.cmake cannot be found.

Luckily, ROS community has created these files in the package cmake_modules: https://github.com/ros/cmake_modulesTake a look at this answer: http://stackoverflow.com/questions/30018447/using-eigen-library-in-ros-indigo

You can install this package. Follow the instructions in the README.md of the link given and you should be able to compile it.

Additionally, I do not know how it works, but not all packages in the wiki can be found through apt-get, it is common that you have to use some of them from source.