Closed robertolisandro closed 2 years ago
I found 2 Errors while executing the previous command in section 3. Building ORB-SLAM2 library and examples, which are:
chmod +x build.sh
./build.sh
With this result (at the end):
make[2]: *** [CMakeFiles/ORB_SLAM2.dir/build.make:89: CMakeFiles/ORB_SLAM2.dir/src/LocalMapping.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/ORB_SLAM2.dir/build.make:63: CMakeFiles/ORB_SLAM2.dir/src/System.cc.o] Error 1
make[2]: *** [CMakeFiles/ORB_SLAM2.dir/build.make:297: CMakeFiles/ORB_SLAM2.dir/src/Viewer.cc.o] Error 1
make[2]: *** [CMakeFiles/ORB_SLAM2.dir/build.make:76: CMakeFiles/ORB_SLAM2.dir/src/Tracking.cc.o] Error 1
make[2]: *** [CMakeFiles/ORB_SLAM2.dir/build.make:102: CMakeFiles/ORB_SLAM2.dir/src/LoopClosing.cc.o] Error 1
make[2]: *** [CMakeFiles/ORB_SLAM2.dir/build.make:219: CMakeFiles/ORB_SLAM2.dir/src/Optimizer.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:250: CMakeFiles/ORB_SLAM2.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
How can I deal with it?
Hi there! I'm trying to make ORB_SLAM2 work but I got this problem while launching the command for TUM datasets examples.
I downloaded a dataset from the given link and then executed the following command:
./Examples/Monocular/mono_tum Vocabulary/ORBvoc.txt Examples/Monocular/TUMX.yaml PATH_TO_SEQUENCE_FOLDER
where I changed TUMX with the correct TUM file (in my case it's TUM1.yaml) and also changed PATH_TO_SEQUENCE_FOLDER with the correct path.
First I had the following problem:
mono_tum: command not found
then I changed ./Examples/Monocular/mono_tum into ./Examples/Monocular/mono_tum.cc
but I got this error:
Did anyone meet this error too?