[Bug 1036] New: orocos_kdl includes Eigen/Core but does not export Eigen INCLUDE_DIRS

http://bugs.orocos.org/show_bug.cgi?id=1036

Summary: orocos_kdl includes Eigen/Core but does not export
Eigen INCLUDE_DIRS
Product: KDL
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: Build system
AssignedTo: orocos-dev [..] ...
ReportedBy: tfoote [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Compiling the test tf2_kdl bindings which only indirectly depend on Eigen via
kdl fails as follows:

In file included from /opt/ros/hydro/include/kdl/jntarray.hpp:26:0,
from /opt/ros/hydro/include/kdl/frames_io.hpp:81,
from
/home/tfoote/work/geometry_experimental/src/geometry_experimental/tf2_kdl/test/test_tf2_kdl.cpp:35:
/opt/ros/hydro/include/kdl/jacobian.hpp:26:22: fatal error: Eigen/Core: No such
file or directory
compilation terminated.

The workaround is to find_package(Eigen) yourself and add the
${Eigen_INCLUDE_DIRS} to the include_directories.

The Eigen_INCLUDE_DIRS should be added to the exported cflags. I can't find
where the pc file is generated to submit a patch.

Ruben Smits's picture

[Bug 1036] orocos_kdl includes Eigen/Core but does not export Ei

http://bugs.orocos.org/show_bug.cgi?id=1036

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |ruben.smits@intermodalics.e
| |u
Resolution| |FIXED