在配置ORB-SLAM2的环境过程中,安装Pangolin时会报错,大多数情况下就是因为Pangolin版本太高导致的,这时候只需要降低Pangolin的版本,就可以继续安装了!
解决方案如下:
sudo apt install libgl1-mesa-dev
sudo apt install libglew-dev
sudo apt install libpython2.7-dev
sudo apt install libegl1-mesa-dev libwayland-dev libxkbcommon-dev wayland-protocols
sudo apt install ffmpeg libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libavdevice-dev
sudo apt install libdc1394-22-dev libraw1394-dev
sudo apt install libjpeg-dev libpng12-dev libtiff5-dev libopenexr-dev
git clone https://github.com/hyhyhy666/Pangolin.git
cd Pangolin
mkdir build
cd build
cmake …
make
sudo make install
这样就完美解决了Pangolin版本不对应的问题,本篇结。
欢迎讨论 + 点赞收藏