ros / geometry2

A set of ROS packages for keeping track of coordinate transforms.
191 stars 279 forks source link

Compilation fails: error: ‘tuple’ in namespace ‘boost’ does not name a template type #569

Open mblasi opened 1 month ago

mblasi commented 1 month ago

I am following the instructions in https://wiki.ros.org/Installation/Source, particularly a generic installation, my workstation runs gentoo. The command that fails is:

$ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release Don't understand why, my local workspace source, has missing the include of tuple.hpp: #include <boost/tuple/tuple.hpp> The error was fixed by adding this line manually:

https://github.com/ros/geometry2/blob/noetic-devel/tf2/src/buffer_core.cpp#L41

mblasi commented 1 month ago

I don't understand why, but it looks like:

$ rosinstall_generator desktop --rosdistro noetic --deps --tar > noetic-desktop.rosinstall
$ mkdir ./src
$ vcs import --input noetic-desktop.rosinstall ./src

Doesn't take the last sources tree from this repository branch noetic.