Table of contents
1. Pangolin zip file
2. Unzip
sudo apt-get install libglew-dev
sudo apt-get install cmake
sudo apt-get install libboost-dev libboost-thread-dev libboost-filesystem-dev
cd Pangolin-master
./scripts/install_prerequisites.sh --dry-run recommended
mkdir build
cmake ..
sudo make install
You can see the default installation path: the header file path is -- Installing: /usr/local/include, and the library path is -- Installing: /usr/local/lib
3. Test
cd examples/SimpleDisplay
./SimpleDisplay
Reference: SLAM 14 Lecture ch3 Use vscode to compile a blog based on ubuntu20.04_LZZ and MYY-CSDN Blog