繁体   English   中英

Ubuntu 18 上的 ORB_SLAM3 安装错误

[英]installation error in ORB_SLAM3 on Ubuntu 18

我正在尝试在 Ubuntu 18 上安装 ORB_SLAM3...我还安装了所有先决条件,但是当我运行./build.sh时,我遇到了这个错误:

CMakeFiles/ORB_SLAM3.dir/build.make:62: recipe for target 'CMakeFiles/ORB_SLAM3.dir/src/System.cc.o' failed
make[2]: *** [CMakeFiles/ORB_SLAM3.dir/src/System.cc.o] Error 1
CMakeFiles/ORB_SLAM3.dir/build.make:302: recipe for target 'CMakeFiles/ORB_SLAM3.dir/src/Atlas.cc.o' failed
make[2]: *** [CMakeFiles/ORB_SLAM3.dir/src/Atlas.cc.o] Error 1
CMakeFiles/ORB_SLAM3.dir/build.make:206: recipe for target 'CMakeFiles/ORB_SLAM3.dir/src/FrameDrawer.cc.o' failed
make[2]: *** [CMakeFiles/ORB_SLAM3.dir/src/FrameDrawer.cc.o] Error 1
CMakeFiles/ORB_SLAM3.dir/build.make:494: recipe for target 'CMakeFiles/ORB_SLAM3.dir/src/Viewer.cc.o' failed
make[2]: *** [CMakeFiles/ORB_SLAM3.dir/src/Viewer.cc.o] Error 1
CMakeFiles/ORB_SLAM3.dir/build.make:110: recipe for target 'CMakeFiles/ORB_SLAM3.dir/src/LocalMapping.cc.o' failed
make[2]: *** [CMakeFiles/ORB_SLAM3.dir/src/LocalMapping.cc.o] Error 1
CMakeFiles/ORB_SLAM3.dir/build.make:470: recipe for target 'CMakeFiles/ORB_SLAM3.dir/src/Initializer.cc.o' failed
make[2]: *** [CMakeFiles/ORB_SLAM3.dir/src/Initializer.cc.o] Error 1
CMakeFiles/ORB_SLAM3.dir/build.make:86: recipe for target 'CMakeFiles/ORB_SLAM3.dir/src/Tracking.cc.o' failed
make[2]: *** [CMakeFiles/ORB_SLAM3.dir/src/Tracking.cc.o] Error 1
CMakeFiles/ORB_SLAM3.dir/build.make:134: recipe for target 'CMakeFiles/ORB_SLAM3.dir/src/LoopClosing.cc.o' failed
make[2]: *** [CMakeFiles/ORB_SLAM3.dir/src/LoopClosing.cc.o] Error 1
CMakeFiles/ORB_SLAM3.dir/build.make:374: recipe for target 'CMakeFiles/ORB_SLAM3.dir/src/Optimizer.cc.o' failed
make[2]: *** [CMakeFiles/ORB_SLAM3.dir/src/Optimizer.cc.o] Error 1
CMakeFiles/Makefile2:289: recipe for target 'CMakeFiles/ORB_SLAM3.dir/all' failed
make[1]: *** [CMakeFiles/ORB_SLAM3.dir/all] Error 2

在执行代码期间,还会显示此错误:

fatal error: Eigen/Core: No such file or directory
 #include <Eigen/Core>

谁能帮我一个忙,帮我解决这个问题??

它已通过将#include<Eigen/Core>替换为include<eigen3/Eigen/Core>在包含此库的所有文件中解决。
或者
改为在终端中运行sudo cp -r /usr/include/eigen3/Eigen /usr/include

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM