GitHub - stevenlovegrove/Pangolin at v0.5Pangolin is a lightweight portable rapid development library for managing OpenGL display / interaction and abstracting video input. - GitHub - stevenlovegrove/Pangolin at v0.5icon-default.png?t=N7T8https://github.com/stevenlovegrove/Pangolin/tree/v0.5一、下载

打开网址,确认是v0.5,点击code下载

二、依赖

sudo apt-get install libglew-dev
sudo apt-get install cmake
sudo apt-get install libboost-dev libboost-thread-dev libboost-filesystem-dev

三、安装

18.04很简单:

mkdir build && cd build
cmake ..
sudo make install

20.04参考视觉SLAM十四讲 Ubuntu20.04 Pangolin 环境配置_pangolin-0.5-20.04_图南i的博客-CSDN博客文章浏览阅读6.2k次,点赞66次,收藏164次。视觉SLAM十四讲 Ubuntu20.04 Pangolin 环境配置一. github下载源代码选择0.5版本的,要不然版本装高了编译ORB-SLAM2会遇到问题二. 报错及处理error: ‘AV_PIX_FMT_XVMC_MPEG2_MC’ was not declared in this scope详细报错信息/home/andy/Downloads/Pangolin/src/video/drivers/ffmpeg.cpp: In function ‘std::__cxx11::_pangolin-0.5-20.04https://blog.csdn.net/Robert_Q/article/details/121690089?ops_request_misc=&request_id=&biz_id=102&utm_term=define%20TEST_PIX_FMT_RETURN文章浏览阅读6.2k次,点赞66次,收藏164次。视觉SLAM十四讲 Ubuntu20.04 Pangolin 环境配置一. github下载源代码选择0.5版本的,要不然版本装高了编译ORB-SLAM2会遇到问题二. 报错及处理error: ‘AV_PIX_FMT_XVMC_MPEG2_MC’ was not declared in this scope详细报错信息/home/andy/Downloads/Pangolin/src/video/drivers/ffmpeg.cpp: In function ‘std::__cxx11::_pangolin-0.5-20.04https://blog.csdn.net/Robert_Q/article/details/121690089?ops_request_misc=&request_id=&biz_id=102&utm_term=define%20TEST_PIX_FMT_RETURN文章浏览阅读6.2k次,点赞66次,收藏164次。视觉SLAM十四讲 Ubuntu20.04 Pangolin 环境配置一. github下载源代码选择0.5版本的,要不然版本装高了编译ORB-SLAM2会遇到问题二. 报错及处理error: ‘AV_PIX_FMT_XVMC_MPEG2_MC’ was not declared in this scope详细报错信息/home/andy/Downloads/Pangolin/src/video/drivers/ffmpeg.cpp: In function ‘std::__cxx11::_pangolin-0.5-20.04https://blog.csdn.net/Robert_Q/article/details/121690089?ops_request_misc=&request_id=&biz_id=102&utm_term=define%20TEST_PIX_FMT_RETURN文章浏览阅读6.2k次,点赞66次,收藏164次。视觉SLAM十四讲 Ubuntu20.04 Pangolin 环境配置一. github下载源代码选择0.5版本的,要不然版本装高了编译ORB-SLAM2会遇到问题二. 报错及处理error: ‘AV_PIX_FMT_XVMC_MPEG2_MC’ was not declared in this scope详细报错信息/home/andy/Downloads/Pangolin/src/video/drivers/ffmpeg.cpp: In function ‘std::__cxx11::_pangolin-0.5-20.04https://blog.csdn.net/Robert_Q/article/details/121690089?ops_request_misc=&request_id=&biz_id=102&utm_term=define%20TEST_PIX_FMT_RETURN

四、测试

在build文件夹下继续

cd examples/HelloPangolin
./HelloPangolin

五、注意点

使用时别忘记加#include <pangolin/pangolin.h>

find_package(Pangolin REQUIRED)
target_link_libraries( xxx
${Pangolin_LIBRARIES}
)
 

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐