marcoesposito1988 / cython_catkin_example

Example of integration between Cython and ROS/catkin
18 stars 8 forks source link

Could not find a package configuration file provided by "Eigen" #3

Open a-z-e-r-i-l-a opened 4 years ago

a-z-e-r-i-l-a commented 4 years ago

Hi I tried a catkin build on this example, but got the following error.

/src/cython_catkin_example/CMakeLists.txt:6 (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.
marcoesposito1988 commented 4 years ago

Eigen has a long and tormented history with CMake. If you are using an updated system and have Eigen installed, you may just have to look for Eigen3 instead.

Otherwise, you can refer to the abundant discussions about this matter: https://answers.ros.org/question/253588/ros-kinetic-eigen/