1 安装pangolin依赖(OpenGL)
sudo apt-get install libglew-dev
2 编译和安装pangolin
下载pangolin(网址:https://github.com/stevenlovegrove/Pangolin)
下载安装包:Pangolin.tar.gz
解压安装包:tar -zxvf Pangolin.tar.gz
cd [path-to-pangolin]
mkdir build
cd build
cmake …
make
sudo make install
3 运行Pangolin时出现错误(Pangolin X11: Unable to retrieve framebuffer options):
4 解决方法:进入Pangolin的CMAKE工程根目录,Pangolin/src/display/device/display_x11.cpp 文件,注释两行代码:
GLX_SAMPLE_BUFFERS , glx_sample_buffers,
GLX_SAMPLES , glx_sample_buffers > 0 ? glx_samples : 0,
来源:CSDN
作者:enjoyxiong
链接:https://blog.csdn.net/enjoyxiong/article/details/103461975