Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error: octomap_msgs/conversion.h missing #14

Open
biagio-trimarchi opened this issue May 16, 2023 · 3 comments
Open

Build error: octomap_msgs/conversion.h missing #14

biagio-trimarchi opened this issue May 16, 2023 · 3 comments

Comments

@biagio-trimarchi
Copy link

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.

@iKrishneel
Copy link
Owner

Will it be possible to fix this bug and PR?

@Jaynkd
Copy link

Jaynkd commented May 23, 2023

@biagio-trimarchi did you tried running octomap on ros-humble and do you have an instance or example of the successful run?

@biagio-trimarchi
Copy link
Author

Hi, in the end the code I was working on worked just fine with the Octomap packages that are available with ROS2, i.e.

sudo apt install ros-foxy-octomap

sudo apt install ros-foxy-octomap-mapping

So I did not spent anymore time with this repo.
I have not tried humble yet, the project I am working on use foxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants