按照如下代码,进行编译安装,记得修改为自己eigen的位置
sudo apt install libglew-dev cmake libboost-dev libboost-thread-dev libboost-filesystem-dev -y
git clone --recursive https://github.com/stevenlovegrove/Pangolin.git
cd Pangolin
./scripts/install_prerequisites.sh recommended
git checkout v0.6
mkdir -p build && cd build
cmake … -DEigen3_DIR=$HOME/eigen-3.3.9/build
cmake --build .
make install
参考
[1]: https://github.com/stevenlovegrove/Pangolin
[2]: https://github.com/stevenlovegrove/Pangolin/pull/715
[3]: https://github.com/stevenlovegrove/Pangolin/issues/746