raulmur / ORB_SLAM2

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

Error during ORB_SLAM2 build #278

Open ulkesh11 opened 7 years ago

ulkesh11 commented 7 years ago

I followed all the steps to build ORB_SLAM2 library but go the following error Please help.

make[2]: [CMakeFiles/ORB_SLAM2.dir/src/LocalMapping.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: [CMakeFiles/ORB_SLAM2.dir/src/LoopClosing.cc.o] Error 1 make[2]: [CMakeFiles/ORB_SLAM2.dir/src/Viewer.cc.o] Error 1 make[2]: [CMakeFiles/ORB_SLAM2.dir/src/Tracking.cc.o] Error 1 make[2]: [CMakeFiles/ORB_SLAM2.dir/src/System.cc.o] Error 1 make[1]: [CMakeFiles/ORB_SLAM2.dir/all] Error 2 make: [all] Error 2

ulkesh11 commented 7 years ago

Adding " #include " to all the files giving error fixes the error