Ask Your Question

fatal error: Eigen/Core: No such file or directory on indigo [closed]

asked 2015-04-27 04:23:17 -0600

tzutalin gravatar image

I am going to convert laser data to cloud point by follow the sample, but there is an error, "fatal error: Eigen/Core: No such file or directory on ". Is there someone know why it cannot found Eigen/Core when I try to build the example as bellow.

Environments: ubuntu 14.04, gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2, ROS-indigo

There is no use when I add the bellows to CMakeLists.txt.

find_package(catkin REQUIRED COMPONENTS nav_msgs roscpp sensor_msgs tf laser_geometry ) find_package(catkin REQUIRED COMPONENTS cmake_modules ) find_package(Eigen REQUIRED)

Thank you very much!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by tzutalin
close date 2015-04-30 10:30:42.420314


Hi,how do you solve your problem? I meet the same problem now

Jister gravatar image Jister  ( 2015-12-05 07:44:47 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-04-27 11:56:19 -0600

Tom Moore gravatar image

updated 2015-04-27 11:56:42 -0600

In your CMakeLists.txt file, find the include_directories macro. Make sure it has ${Eigen_INCLUDE_DIRS} in it, e.g.,

include_directories(include ${catkin_INCLUDE_DIRS} ${Eigen_INCLUDE_DIRS})
edit flag offensive delete link more



find_package(Eigen3 REQUIRED) include_directories(${EIGEN3_INCLUDE_DIR})

Nomad gravatar image Nomad  ( 2016-01-13 10:07:57 -0600 )edit

Thank you Nomad! That worked for me.

mwenger gravatar image mwenger  ( 2020-06-16 13:30:41 -0600 )edit

Question Tools

1 follower


Asked: 2015-04-27 04:23:17 -0600

Seen: 22,678 times

Last updated: Apr 27 '15