-
Notifications
You must be signed in to change notification settings - Fork 4
Ubuntu build instruciton
Note that Ubuntu 16 is not supported, please contact us separately if you need help.
`sudo apt update
sudo apt-get install cmake build-essential libeigen3-dev libboost-dev libboost-filesystem-dev libopencv-dev libglew-dev
And then clone and compile:
go to your favorite directory (Home directory is not a good idea)
git clone https://github.com/sjulier/Refactored_ORB_SLAM2.git
cd Refactored_ORB_SLAM2
./Build.sh
if got boost_filesystem version problem when build ORB-SLAM2, you also need to run
sudo apt install libboost-filesystem1.71-dev
CMAKE_CXX_COMPILER broken:
try
sudo apt-get update
sudo apt-get install -y build-essential
if not work
install g++ or other C++ compiler
If you have an error such that: Could NOT find OpenGL
sudo apt-get install libgl1-mesa-dev
For an error, such that: Could NOT find OpenGL (missing: EGL)
sudo apt-get install libegl1-mesa-dev