ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

eigen_msg.h not found

asked 2013-04-02 03:00:40 -0500

Mudassir Khan gravatar image

I can locate eigen_msg.h at

/opt/ros/fuerte/stacks/geometry/eigen_conversions/include/eigen_conversions/eigen_msg.h

but when I #include eigen_conversions/eigen_msg.h in my code I get the following error.

[ 77%] Building CXX object CMakeFiles/map_info.dir/src/node_map.o
/home/khan/fuerte_workspace/sandbox/lawn_mover/src/node_map.cpp:2:41: fatal error: eigen_conversions/eigen_msg.h: No such file or directory
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2013-04-02 05:26:02 -0500

updated 2013-04-02 05:26:43 -0500

You are likely missing the correct xml tags defining which packages you are depending on.

In Fuerte, your manifest.xml needs

<depend package="eigen_conversions" />

In Groovy, your package.xml needs

<build_depend package="eigen_conversions />
edit flag offensive delete link more
0

answered 2013-04-02 20:56:55 -0500

Mudassir Khan gravatar image

thank you, its working after I added

<depend package="eigen_conversions" />

to manifest.xml

edit flag offensive delete link more

Comments

Glad to hear it! Just FYI, it is not recommended to add answers that aren't really answers. It is not supposed to work like a forum. In this situation, you could have commented+accepted my answer, or edited your original question with information containing the solution.

jarvisschultz gravatar image jarvisschultz  ( 2013-04-03 01:28:43 -0500 )edit

I am new here so I am not familiar with how it works, thanks for the heads up

Mudassir Khan gravatar image Mudassir Khan  ( 2013-04-04 00:07:58 -0500 )edit

Question Tools

Stats

Asked: 2013-04-02 03:00:40 -0500

Seen: 1,029 times

Last updated: Apr 02 '13