Ubuntu安装Pangolin0.5

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}
)
 

  • 13
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

水理璇浮

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值