cd ~/ORB_SLAM3/src && git clone <https://github.com/UZ-SLAMLab/ORB_SLAM3.git>
cd ~/ORB_SLAM3/src && git clone --recursive <https://github.com/stevenlovegrove/Pangolin.git>
cd Pangolin
./scripts/install_prerequisites.sh recommended
mkdir build && cd build
cmake ..
make -j `cat /proc/cpuinfo | grep cores | wc -l`
sudo make install
아래의 사이트에 들어가 OpenCV 4.4를 설치한다
cd ~/ORB_SLAM3/src/ORB_SLAM
chmod +x build.sh
./build.sh
** 만약 error: ‘slots_reference’ was not declared in this scope 이런 build error가 생긴다면 c++11로 빌드되고 있어서 나는 문제이므로 아래 명령어를 CMakeList.txt의 ++11부분을 ++14로 변경해준다.
cd ~/ORB_SLAM3/src/ORB_SLAM3
sed -i 's/++11/++14/g' CMakeLists.txt