ORB-SLAM2安装错误解决
程序员文章站
2022-03-16 21:04:19
...
问题:
配置ORB-SLAM2时,运行 cmake .. -DCMAKE_BUILD_TYPE=Release
出现找不到CHOLMOD_INCLUDE_DIR与CHOLMOD_LIBRARY的错误,如下所示:
[email protected]:~/rosbuild_ws/package_dir/ORB_SLAM2_Fusion/build$ cmake .. -DCMAKE_BUILD_TYPE=Release
Build type: Release
-- Using flag -std=c++11.
[FindCholmod.cmake] CHOLMOD_INCLUDE_DIR: CHOLMOD_INCLUDE_DIR-NOTFOUND
-- Could NOT find CHOLMOD (missing: CHOLMOD_INCLUDE_DIR CHOLMOD_LIBRARIES)
CHOLMOD_INCLUDE_DIR: CHOLMOD_INCLUDE_DIR-NOTFOUND
EIGEN3_INCLUDE_DIR: /usr/local/include/eigen3
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CHOLMOD_INCLUDE_DIR
used as include directory in directory /home/hri/rosbuild_ws/package_dir/ORB_SLAM2_Fusion
used as include directory in directory /home/hri/rosbuild_ws/package_dir/ORB_SLAM2_Fusion
used as include directory in directory /home/hri/rosbuild_ws/package_dir/ORB_SLAM2_Fusion
used as include directory in directory /home/hri/rosbuild_ws/package_dir/ORB_SLAM2_Fusion
used as include directory in directory /home/hri/rosbuild_ws/package_dir/ORB_SLAM2_Fusion
CHOLMOD_LIBRARY
linked by target "ORB_SLAM2_FUSION" in directory /home/hri/rosbuild_ws/package_dir/ORB_SLAM2_Fusion
-- Configuring incomplete, errors occurred!
See also "/home/hri/rosbuild_ws/package_dir/ORB_SLAM2_Fusion/build/CMakeFiles/CMakeOutput.log".
解决办法:
安装libcholmod3与libsuitesparse,指令如下:
sudo apt-get install libcholmod3
sudo apt-get install libsuitesparse-dev
上一篇: 现在看小米6 雷军评价:还是非常惊艳
下一篇: wsys.exe进程是什么意思
推荐阅读
-
安装sqlserver2000时出现wowexec.exe无反应的解决方法
-
SQLSERVER数据库中的5173错误解决方法
-
Adobe Flash Player 安装失败遇到错误怎么办?
-
itunes安装失败 提示device service fail to start的解决办法
-
打开土豆看视频的时候提示错误代码cp0001的五种解决办法
-
安装SQL server 提示重新启动计算机失败怎么解决?
-
会声会影x5安装失败提示crc错误导致会声会影安装不了
-
新浪直播插件反复安装还不能看直播解决方法
-
安装cad提示1606错误怎么办 autocad报错1606的解决方法
-
PHP异常Parse error: syntax error, unexpected T_VAR错误解决方法