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
ROS Distro: Melodic
OS Version: Windows 10
Visual Studio Community 2019 (2) - 16.11.8
Desktop Development with C++
Windows 10 SDK (10.0.19041.0)
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:
Does anybody have an idea how to solve this problem and to build the source code without errors?
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.
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:
Does anybody have an idea how to solve this problem and to build the source code without errors?