make[1]: *** [CMakeFiles/ORB_SLAM2.dir/all] 错误 2
betterhalfwzm opened this issue · 2 comments
integrator.cpp.o
Building CXX object CMakeFiles/ORB_SLAM2.dir/src/IMU/so3.cpp.o
Building CXX object CMakeFiles/ORB_SLAM2.dir/src/IMU/NavState.cpp.o
make[2]: *** 没有规则可以创建“../lib/libORB_SLAM2.so”需要的目标“../Thirdparty/DBoW2/lib/libDBoW2.so”。 停止。
make[2]: *** 正在等待未完成的任务....
[ 92%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/IMU/g2otypes.cpp.o
/home/wzm/LearnVIORBnorosgai2-master/src/Tracking.cc: In member function ‘void ORB_SLAM2::Tracking::RecomputeIMUBiasAndCurrentNavstate(ORB_SLAM2::NavState&)’:
/home/wzm/LearnVIORBnorosgai2-master/src/Tracking.cc:92:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < N - 2; i++)
^
/home/wzm/LearnVIORBnorosgai2-master/src/Tracking.cc: In member function ‘void ORB_SLAM2::Tracking::Track()’:
/home/wzm/LearnVIORBnorosgai2-master/src/Tracking.cc:904:13: warning: ‘bOK’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (bOK)
^
make[1]: *** [CMakeFiles/ORB_SLAM2.dir/all] 错误 2
make: *** [all] 错误 2
wzm@wzm-X6Ti:~/LearnVIORBnorosgai2-master$
I have the same problem!
Hi, guys, just recomplile the /Thirdparty/DBoW2 in your computer, then it will be linked!