Error trying to catkin_package an existing ros package that uses eigen

asked 2017-03-11 04:12:07 -0600

xenvre gravatar image

Hi folks!

I'm trying to use a ros package, specifically force_torque_sensor_calib, in my project.

When I try to catkin_package() it like

catkin_package(catkin REQUIRED COMPONENTS...
etc...
force_torque_sensor_calib)

I get this error

CMake Error at /home/xenvre/xenvre_ws/devel/share/force_torque_sensor_calib/cmake/force_torque_sensor_calibConfig.cmake:165 (find_package):
By not providing "Findeigen.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "eigen", but
CMake did not find one.

Could not find a package configuration file provided by "eigen" with any of
the following names:

  eigenConfig.cmake
  eigen-config.cmake

Add the installation prefix of "eigen" to CMAKE_PREFIX_PATH or set
"eigen_DIR" to a directory containing one of the above files.  If "eigen"
provides a separate development package or SDK, be sure it has been
installed. 
Call Stack (most recent call first):
 /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
 lwr_force_position_controllers/CMakeLists.txt:7 (find_package)

 -- Configuring incomplete, errors occurred!

where lwr_force_position_controllers is the name of my ros package. The package force_torque_sensor_calib compiles successfully.

I've already tried to use cmake_modules following this without success.

edit retag flag offensive close merge delete