Skip to content

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

@Adrian2702

Description

@Adrian2702

Description

I want to use the octomap_mapping 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 octomap_mapping 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 catkin_make 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 catkin_make 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions