OctoMap / octomap_mapping

ROS stack for mapping with OctoMap, contains octomap_server package
http://www.ros.org/wiki/octomap_mapping
342 stars 280 forks source link

Error when trying to build octomap_mapping from source (Windows 10) #98

Open Adrian2702 opened 2 years ago

Adrian2702 commented 2 years ago

Description

I want to use the _octomapmapping package to visualize a point cloud created with an Intel-Realsense D455 camera as a 3D occupancy grid mapping in RViz. I encounter an error when I try to create _octomapmapping from the source code.

My environment

Steps to reproduce

First I created a workspace (C:\octomap_ws) and cloned the source code with Git into (C:\octomap_ws\src). I cloned the source code from the kinetic-devel branch as described in the instructions for the ROS Distro Melodic. I then run _catkinmake in C:\octomap_ws. I come across an error that says: Could NOT find octomap_ros (missing: octomap_ros_DIR). As described in the CMakeLists of octomap_server, it is necessary to have the octomap_ros package. So I cloned it from [Github octomap_ros] (https://github.com/OctoMap/octomap_ros) to my C:\octomap_ws\src folder. I ran _catkinmake and the previously described error disappeared. However, I am now encountering this new error:

99

Does anybody have an idea how to solve this problem and to build the source code without errors?

wxmerkt commented 2 years ago

Hi @Adrian2702 To my knowledge, this code has not been tested or used under Windows. As thus, I am not surprised by the build failures. We'd be happy to accept a PR to fix the issues.

Best, Wolfgang