Build ORB_SLAM3 node fail with ROS Noetic

asked 2022-11-01 21:28:20 -0600

nndorenji gravatar image

Hi, I'm kinda new to ROS and ORB-SLAM3. I tried to build my OB-SLAM3 with ROS but I got this error. Is there anyone can help me with this error? Thanks!

-- Found PythonInterp: /usr/bin/python (found version "2.7.18") 
[rosbuild] Building package ORB_SLAM3
[rosbuild] Error from syntax check of ORB_SLAM3/manifest.xml
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/ros/noetic/lib/python3/dist-packages/roslib/", line 50, in <module>
    from roslib.launcher import load_manifest  # noqa: F401
  File "/opt/ros/noetic/lib/python3/dist-packages/roslib/", line 42, in <module>
    import rospkg
ImportError: No module named rospkg

CMake Error at /opt/ros/noetic/share/ros/core/rosbuild/private.cmake:77 (message):
  [rosbuild] Syntax check of ORB_SLAM3/manifest.xml failed; aborting
Call Stack (most recent call first):
  /opt/ros/noetic/share/ros/core/rosbuild/public.cmake:174 (_rosbuild_check_manifest)
  CMakeLists.txt:4 (rosbuild_init)

-- Configuring incomplete, errors occurred!
See also "/home/nanda/dev/ORB_SLAM3/Examples_old/ROS/ORB_SLAM3/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found.  Stop.
edit retag flag offensive close merge delete


If you are not inside a conda environment, then it is an installation issue with ROS. Did you follow the installation documentation properly? Alternatively please try pip install rospkg

ravijoshi gravatar image ravijoshi  ( 2022-11-02 07:32:40 -0600 )edit