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

<[email protected]>
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <[email protected]/>
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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
   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.

-- 
Configure bugmail: http://bugs.orocos.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.