MISTLab/Swarm-SLAM

An error when doing "colcon build"

Closed this issue · 4 comments

SwarmSLAM/build/cslam_common_interfaces/rosidl_generator_cpp/cslam_common_interfaces/msg/detail/local_image_descriptors__struct.hpp:19:10: fatal error: rtabmap_ros/msg/detail/rgbd_image__struct.hpp: No such file or directory
19 | #include "rtabmap_ros/msg/detail/rgbd_image__struct.hpp"

image

1683784554583

Could you help me?

@lajoiepy After doing what you said, the error is still reported. So I replaced the "rtabmap_ros" in all the files in the three directories /src/cslam, /src/cslam_experiments /src/cslam_interfaces with "rtabmap_msgs", and the "colcon build" command will not report an error. But there seems to be a problem when executing the "colco test" command, as shown in the figure
image

You can use colcon test-result --verbose to get more info about the failed tests, but the only important tests are in the cslam package. Those have passed, so everything should be fine

I fixed the rtabmap depencies. Please update your code :)