Ask Your Question
2

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

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

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. http://wiki.ros.org/laser_pipeline/Tu...

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

Comments

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

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

1 Answer

Sort by ยป oldest newest most voted
5

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

Tom Moore gravatar image

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

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

Comments

6

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

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

Question Tools

1 follower

Stats

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

Seen: 20,455 times

Last updated: Apr 27 '15