UZ-SLAMLab / ORB_SLAM3

ORB-SLAM3: An Accurate Open-Source Library for Visual, Visual-Inertial and Multi-Map SLAM
GNU General Public License v3.0
6.59k stars 2.56k forks source link

cmake error #860

Open yogurtbuddy opened 9 months ago

yogurtbuddy commented 9 months ago

(base) suannaige@suannaige:~/ORB_SLAM3$ ./build.sh Configuring and building Thirdparty/DBoW2 ... mkdir: 无法创建目录 “build”: 文件已存在 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/suannaige/ORB_SLAM3/Thirdparty/DBoW2/build [100%] Built target DBoW2 Configuring and building Thirdparty/g2o ... mkdir: 无法创建目录 “build”: 文件已存在 CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- BUILD TYPE:Release -- Compiling on Unix -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/suannaige/ORB_SLAM3/Thirdparty/g2o/build [100%] Built target g2o Configuring and building Thirdparty/Sophus ... mkdir: 无法创建目录 “build”: 文件已存在 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/suannaige/ORB_SLAM3/Thirdparty/Sophus/build [ 8%] Built target test_common [ 16%] Built target test_so2 [ 25%] Built target test_se2 [ 33%] Built target test_se3 [ 41%] Built target test_rxso2 [ 58%] Built target test_sim3 [ 62%] Built target test_sim2 [ 66%] Built target test_so3 [ 75%] Built target test_rxso3 [ 83%] Built target test_velocities [ 91%] Built target test_geometry [100%] Built target HelloSO3 Uncompress vocabulary ... Configuring and building ORB_SLAM3 ... mkdir: 无法创建目录 “build”: 文件已存在 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

Build type: Release -- Using flag -std=c++11. OPENCV VERSION: 4.2.0 CMake Warning at CMakeLists.txt:43 (find_package): By not providing "Findrealsense2.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "realsense2", but CMake did not find one.

Could not find a package configuration file provided by "realsense2" with any of the following names:

realsense2Config.cmake
realsense2-config.cmake

Add the installation prefix of "realsense2" to CMAKE_PREFIX_PATH or set "realsense2_DIR" to a directory containing one of the above files. If "realsense2" provides a separate development package or SDK, be sure it has been installed.

CMake Deprecation Warning at Thirdparty/g2o/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- BUILD TYPE:Release -- Compiling on Unix -- Configuring done (0.0s) -- Generating done (0.1s) -- Build files have been written to: /home/suannaige/ORB_SLAM3/build [ 29%] Built target g2o make[2]: 没有规则可制作目标“/home/suannaige/pangolin/build/src/libpangolin.so”,由“/home/suannaige/ORB_SLAM3/lib/libORB_SLAM3.so” 需求。 停止。 make[1]: [CMakeFiles/Makefile2:148:CMakeFiles/ORB_SLAM3.dir/all] 错误 2 make: *** [Makefile:91:all] 错误 2 (base) suannaige@suannaige:~/ORB_SLAM3$ sudo rm /usr/lib/x86_64-linux-gnu/libGL.so (base) suannaige@suannaige:~/ORB_SLAM3$ sudo ln -s libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so (base) suannaige@suannaige:~/ORB_SLAM3$ sudo rm /usr/lib/x86_64-linux-gnu/libGL.so (base) suannaige@suannaige:~/ORB_SLAM3$ sudo ln -s libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so (base) suannaige@suannaige:~/ORB_SLAM3$ ./build.sh Configuring and building Thirdparty/DBoW2 ... mkdir: 无法创建目录 “build”: 文件已存在 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/suannaige/ORB_SLAM3/Thirdparty/DBoW2/build [100%] Built target DBoW2 Configuring and building Thirdparty/g2o ... mkdir: 无法创建目录 “build”: 文件已存在 CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- BUILD TYPE:Release -- Compiling on Unix -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/suannaige/ORB_SLAM3/Thirdparty/g2o/build [100%] Built target g2o Configuring and building Thirdparty/Sophus ... mkdir: 无法创建目录 “build”: 文件已存在 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/suannaige/ORB_SLAM3/Thirdparty/Sophus/build [ 16%] Built target test_so2 [ 16%] Built target test_common [ 25%] Built target test_rxso2 [ 33%] Built target test_se2 [ 50%] Built target test_sim2 [ 50%] Built target test_so3 [ 58%] Built target test_rxso3 [ 66%] Built target test_geometry [ 83%] Built target test_velocities [ 83%] Built target test_sim3 [ 91%] Built target HelloSO3 [100%] Built target test_se3 Uncompress vocabulary ... Configuring and building ORB_SLAM3 ... mkdir: 无法创建目录 “build”: 文件已存在 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

Build type: Release -- Using flag -std=c++11. OPENCV VERSION: 4.2.0 CMake Warning at CMakeLists.txt:43 (find_package): By not providing "Findrealsense2.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "realsense2", but CMake did not find one.

Could not find a package configuration file provided by "realsense2" with any of the following names:

realsense2Config.cmake
realsense2-config.cmake

Add the installation prefix of "realsense2" to CMAKE_PREFIX_PATH or set "realsense2_DIR" to a directory containing one of the above files. If "realsense2" provides a separate development package or SDK, be sure it has been installed.

CMake Deprecation Warning at Thirdparty/g2o/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- BUILD TYPE:Release -- Compiling on Unix -- Configuring done (0.0s) -- Generating done (0.1s) -- Build files have been written to: /home/suannaige/ORB_SLAM3/build [ 29%] Built target g2o make[2]: 没有规则可制作目标“/home/suannaige/pangolin/build/src/libpangolin.so”,由“/home/suannaige/ORB_SLAM3/lib/libORB_SLAM3.so” 需求。 停止。 make[1]: [CMakeFiles/Makefile2:148:CMakeFiles/ORB_SLAM3.dir/all] 错误 2 make: *** [Makefile:91:all] 错误 2

Mark-Walen commented 3 weeks ago

make[2]: *** 没有规则可制作目标“/home/suannaige/pangolin/build/src/libpangolin.so”, You need to download Pangolin and build it first.