ORB_SLAM2
ORB_SLAM2 copied to clipboard
Make error during ./build.sh command
First time working with ORBSLAM3, so I'm a bit out of my depth with this whole thing. Apologies if this has already been answered before.
The error I'm getting is as follows
make[1]: *** [CMakeFiles/Makefile2:711: CMakeFiles/ORB_SLAM3.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Ubuntu: 20.04.4 GCC: 9.4.0
would appreciate any help regarding this!
the ORB_SLAM2 already exist for several years, if you in 2022 just start do something , most all of these problems are caused by the version problem the following is my experience:
- opencv version I use 3.2.0
- Panglion use version 0.5
- Egien3 need to recompile after Panglion, if you use the most recent version 3.4.90, you need go to CMakelists.txt files( g2o and ORB_SLAM2) change the Include Package line match to this version 3.4.90
- under the include/System.h file adding #include <unistd.h>