Eigen triggers "fatal error: Eigen: No such file or directory #include <Eigen>"

asked 2015-11-21 22:13:34 -0500

Tetrachromat gravatar image

updated 2015-11-21 22:14:09 -0500

fatal error: Eigen: No such file or directory #include <Eigen>

The problem seems to be with the linking, somehow. When I call catkin_make_isolated there is no problem finding FindEigen3.config, but the source files themselves don't see #include <Eigen>

CMakeLists.txt has the following references to Eigen3:

 find_package(Eigen3 REQUIRED)


  catkin_package(CATKIN_DEPENDS message_runtime
    DEPENDS Eigen3

and package.xml has


I've gone back and forth with this problem for hours, but I'm at my wits end. I'd be really grateful if you could shed a light on this.

Tell me if you need to see other file contents. I really appreciate it!

edit retag flag offensive close merge delete


Have you tried using Eigen instead of Eigen3 in CMakeLists.txt?

takahashi gravatar image takahashi  ( 2015-11-23 06:00:43 -0500 )edit