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

build_depend for eigen3, kinetic in package.xml

asked 2016-11-13 00:37:20 -0500

Markus Bader gravatar image


I am using eigen3 in my node. So I added the following statement to my CMakeLists.txt

find_package(Eigen3 REQUIRED)

but what should I add to the package.xml, eigen3 or eigen?





edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-11-13 03:56:13 -0500

gvdhoorn gravatar image

Looking at ros/rosdistro/rosdep/base.yaml, the eigen key maps to Eigen 3 (here), eigen2 maps to Eigen 2 (here) and the eigen3 mapping (here) is a bit ambiguous and incomplete (perhaps @tfoote can explain that one).

If you don't need v2, you should just depend on eigen, otherwise on eigen2.

Note btw that (at least in Indigo and Jade) in addition to build_depending on eigen, you should also add a build_depend on cmake_modules to be able to use find_package(Eigen3 ..), as that package provides the find script for it.

edit flag offensive delete link more


Thanks that way the answer I was looking for.

Markus Bader gravatar image Markus Bader  ( 2016-11-13 23:33:38 -0500 )edit

The eigen3 target looks to be a sweeping gentoo fixup followed by a sweeping fedora fedora fixup. gentoofedora

tfoote gravatar image tfoote  ( 2016-11-14 16:40:38 -0500 )edit

They should be merged into the eigen target and eigen3 removed since that's the one used for all the other platforms.

tfoote gravatar image tfoote  ( 2016-11-14 16:41:22 -0500 )edit

Question Tools


Asked: 2016-11-13 00:37:20 -0500

Seen: 3,491 times

Last updated: Nov 13 '16