Skip to content

Build error: octomap_msgs/conversion.h missing #14

@biagio-trimarchi

Description

@biagio-trimarchi

Hi,
I have tried following the README guidelines to build the code, but after executing

$ colcon build --symlink-install --packages-select octomap_msgs octomap_server2

I get the following error:

fatal error: octomap_msgs/conversions.h: No such file or directory
42 | #include <octomap_msgs/conversions.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

I solved by running:

sudo apt install ros-foxy-octomap
sudo apt install ros-foxy-octomap-mapping

I think you are missing the 'conversion' message in octomap_msgs conversions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions