stonier / ecl_core

A set of tools and interfaces extending the capabilities of c++ to provide a lightweight, consistent interface with a focus for control programming.
Other
84 stars 69 forks source link

[ecl_linear_algebra] Required Eigen STL support header does not exist #11

Closed bit-pirate closed 11 years ago

bit-pirate commented 11 years ago

Error:

In file included from /usr/include/eigen3/Eigen/StdDeque:38:0,
                 from /opt/ros/groovy/include/ecl/linear_algebra/stddeque.hpp:27,
                 from /opt/ros/groovy/include/ecl/linear_algebra.hpp:47,
                 from /opt/ros/groovy/include/ecl/geometry/angle.hpp:21,
                 from /opt/yujin/ycs/catkin_ws/src/ycs_mechanisms/ycs_mechanism_model/src/nodelet/mechanism_model.cpp:19:
/usr/include/eigen3/Eigen/src/StlSupport/StdDeque.h:29:42: fatal error: Eigen/src/StlSupport/details.h: No such file or directory
compilation terminated.
stonier commented 11 years ago

Are you sure you have BOTH these lines in the CMakeLists.txt?

find_package(catkin REQUIRED ecl_geometry)
include_directories(${catkin_INCLUDE_DIRS})
bit-pirate commented 11 years ago

This did the trick for me. Thx!