Setting up ORB SLAM2 on Ubuntu
1a) Install opencv with eigen option enabled
Before make ensure eigen is set to ON - can do this using cmake-gui (search for Eigen and specify directory)
can clone eigen from here: http://eigen.tuxfamily.org/index.php?title=Main_Page
e.g. hg clone https://bitbucket.org/eigen/eigen/1b) then following these instructions for compiling OpenCV
2) Then install Orb Slam 2
https://github.com/raulmur/ORB_SLAM2
- if issue with Eigen director then can ty this: sudo apt-get install libeigen3-dev
- if issues with usleep missing in .cc files then add this in each error file:
#include
source: https://github.com/raulmur/ORB_SLAM2/issues/254