ORB_SLAM3 icon indicating copy to clipboard operation
ORB_SLAM3 copied to clipboard

./build_ros.sh error

Open hawas20 opened this issue 2 years ago • 11 comments

Hi , i'm trying to install ORB-SLAM3 on Ubuntu 20.04 but i'm facing some error first i export path >>> export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:/home/ai/catkin_ws5/src/ORB_SLAM3/Examples/ROS but still have same error and i have 5 workspace

./build_ros.sh Building ROS nodes mkdir: cannot create directory ‘build’: File exists CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as

project(ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Deprecation Warning at /opt/ros/noetic/share/ros/core/rosbuild/rosbuild.cmake:7 (cmake_policy): The OLD behavior for policy CMP0011 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:2 (include)

CMake Deprecation Warning at /opt/ros/noetic/share/ros/core/rosbuild/rosbuild.cmake:16 (cmake_policy): The OLD behavior for policy CMP0002 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:2 (include)

CMake Deprecation Warning at /opt/ros/noetic/share/ros/core/rosbuild/rosbuild.cmake:18 (cmake_policy): The OLD behavior for policy CMP0003 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:2 (include)

CMake Deprecation Warning at /opt/ros/noetic/share/ros/core/rosbuild/rosbuild.cmake:20 (cmake_policy): The OLD behavior for policy CMP0005 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:2 (include)

CMake Deprecation Warning at /opt/ros/noetic/share/ros/core/rosbuild/rosbuild.cmake:23 (cmake_policy): The OLD behavior for policy CMP0011 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:2 (include)

[rosbuild] Building package ORB_SLAM3 [rosbuild] Error from syntax check of ORB_SLAM3/manifest.xml Traceback (most recent call last): File "", line 1, in File "/opt/ros/noetic/lib/python3/dist-packages/roslib/init.py", line 50, in from roslib.launcher import load_manifest # noqa: F401 File "/opt/ros/noetic/lib/python3/dist-packages/roslib/launcher.py", line 42, in import rospkg ModuleNotFoundError: 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/ai/catkin_ws5/src/ORB_SLAM3/Examples/ROS/ORB_SLAM3/build/CMakeFiles/CMakeOutput.log". make: *** No targets specified and no makefile found. Stop.

hawas20 avatar Apr 04 '22 07:04 hawas20

I'm taking this same error @hawas20

Jhonan01 avatar Apr 21 '22 21:04 Jhonan01

I also face same Problem any one have solution of this one please replay thank you

shubham300ska avatar May 25 '22 12:05 shubham300ska

I also face same Problem any one have solution of this one please replay thank you

Jhonan01 avatar May 25 '22 15:05 Jhonan01

Same issue here, any suggestions? Many thanks.

raincold23 avatar Jun 08 '22 03:06 raincold23

yes, i have the same problem.

jj-kong avatar Jul 07 '22 08:07 jj-kong

I have the same problem as follows: [rosbuild] Building package ORB_SLAM3 [rosbuild] Error from syntax check of ORB_SLAM3/manifest.xml Traceback (most recent call last): File "", line 1, in File "/opt/ros/noetic/lib/python3/dist-packages/roslib/init.py", line 53, in import roslib.stacks # noqa: F401, I100 File "/opt/ros/noetic/lib/python3/dist-packages/roslib/stacks.py", line 45, in import roslib.packages File "/opt/ros/noetic/lib/python3/dist-packages/roslib/packages.py", line 48, in from catkin.find_in_workspaces import find_in_workspaces as catkin_find File "/opt/ros/noetic/lib/python3/dist-packages/catkin/find_in_workspaces.py", line 39, in from catkin_pkg.packages import find_packages File "/opt/ros/noetic/lib/python3/dist-packages/catkin_pkg/packages.py", line 38, in from .package import _get_package_xml File "/opt/ros/noetic/lib/python3/dist-packages/catkin_pkg/package.py", line 44, in from catkin_pkg.condition import evaluate_condition File "/opt/ros/noetic/lib/python3/dist-packages/catkin_pkg/condition.py", line 17, in import pyparsing as pp File "/opt/ros/noetic/lib/python3/dist-packages/pyparsing/init.py", line 100 major: int ^ SyntaxError: invalid syntax 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!

Abonaventure avatar Jul 14 '22 03:07 Abonaventure

i also meet this questions any suggests? thanks a lot

ooswald216 avatar Aug 29 '22 11:08 ooswald216

same here

lhy0807 avatar Sep 09 '22 19:09 lhy0807

same here

Cat2Bo avatar Sep 12 '22 07:09 Cat2Bo

python版本不对,改python软链接。按照说明进行操作。 cd /usr/bin sudo rm python sudo ln -s python3.8 python

xxje-library avatar Sep 29 '22 13:09 xxje-library

it will help

xxje-library avatar Sep 29 '22 13:09 xxje-library

rospack] Error: package 'roscpp' depends on non-existent package 'libboost-system-dev' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update' [rospack] Error: package 'roscpp' depends on non-existent package 'libboost-chrono-dev' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update' [rospack] Error: package 'roscpp' depends on non-existent package 'libboost-filesystem-dev' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update' [rospack] Error: package 'roscpp' depends on non-existent package 'libboost-system-dev' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update' [rospack] Error: package 'roslib' depends on non-existent package 'python-rospkg' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update' [rospack] Error: package 'roslib' depends on non-existent package 'python3-rospkg' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update' [rospack] Error: package 'cv_bridge' depends on non-existent package 'boost' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update' [rospack] Error: package 'cv_bridge' depends on non-existent package 'libopencv-dev' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update' [rospack] Error: package 'cv_bridge' depends on non-existent package 'python3' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update' [rospack] Error: package 'cv_bridge' depends on non-existent package 'python3-opencv' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update' [rospack] Error: package 'rosconsole' depends on non-existent package 'apr' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update' [rospack] Error: package 'rosconsole' depends on non-existent package 'libboost-regex-dev' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update' [rospack] Error: package 'rosconsole' depends on non-existent package 'log4cxx' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'

按照这样改之后就报了一堆找不到包的错

scut666 avatar May 29 '23 13:05 scut666