Skip to content

Instantly share code, notes, and snippets.

colcon build --event-handlers desktop_notification- status- --cmake-args -DCMAKE_BUILD_TYPE=Release
Starting >>> geometric_shapes
[Processing: geometric_shapes]
[Processing: geometric_shapes]
[Processing: geometric_shapes]
Finished <<< geometric_shapes [2min 0s]
Starting >>> moveit_msgs
[Processing: moveit_msgs]
[Processing: moveit_msgs]
[Processing: moveit_msgs]
~/ws_moveit2$ colcon build --event-handlers desktop_notification- status- --cmake-args -DCMAKE_BUILD_TYPE=Release
Starting >>> geometric_shapes
--- stderr: geometric_shapes
In file included from /opt/ros/galactic/include/visualization_msgs/msg/marker.hpp:9,
from /home/ubuntu/ws_moveit2/src/geometric_shapes/include/geometric_shapes/body_operations.h:44,
from /home/ubuntu/ws_moveit2/src/geometric_shapes/src/bodies.cpp:38:
/opt/ros/galactic/include/visualization_msgs/msg/detail/marker__traits.hpp: In function ‘void rosidl_generator_traits::to_yaml(const Marker&, std::ostream&, size_t)’:
/opt/ros/galactic/include/visualization_msgs/msg/detail/marker__traits.hpp:43:17: error: invalid initialization of reference of type ‘const Marker&’ {aka ‘const visualization_msgs::msg::Marker_<std::allocator<void> >&’} from expression of type ‘const _header_type’ {aka ‘const std_msgs::msg::Header_<std::allocator<void> >’}
43 | to_yaml(msg.header, out, indentation + 2);