raulmur / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
9.33k stars 4.69k forks source link

make: *** [all] Error 2 #979

Open JiajunHuang1999 opened 3 years ago

JiajunHuang1999 commented 3 years ago

When I am trying to install your code, this error happens. I had successfully installed the original ORB SLAM2 and it works well. I am wondering why. CAN YOU HELP ME?

CMakeFiles/ORB_SLAM2.dir/build.make:316: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/Viewer.cc.o' failed make[2]: [CMakeFiles/ORB_SLAM2.dir/src/Viewer.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... CMakeFiles/ORB_SLAM2.dir/build.make:108: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/LocalMapping.cc.o' failed make[2]: [CMakeFiles/ORB_SLAM2.dir/src/LocalMapping.cc.o] Error 1 CMakeFiles/ORB_SLAM2.dir/build.make:95: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/Tracking.cc.o' failed make[2]: [CMakeFiles/ORB_SLAM2.dir/src/Tracking.cc.o] Error 1 CMakeFiles/ORB_SLAM2.dir/build.make:82: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/System.cc.o' failed make[2]: [CMakeFiles/ORB_SLAM2.dir/src/System.cc.o] Error 1 CMakeFiles/ORB_SLAM2.dir/build.make:121: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/LoopClosing.cc.o' failed make[2]: [CMakeFiles/ORB_SLAM2.dir/src/LoopClosing.cc.o] Error 1 CMakeFiles/Makefile2:184: recipe for target 'CMakeFiles/ORB_SLAM2.dir/all' failed make[1]: [CMakeFiles/ORB_SLAM2.dir/all] Error 2 Makefile:103: recipe for target 'all' failed make: [all] Error 2