ubuntu16.04下安装pangolin

时间:2018-04-10 18:45:33   收藏:0   阅读:1405

安装教程,具体可以参考github上pangolin的安装文档 https://github.com/stevenlovegrove/Pangolin

首先要安装pangolin的各种依赖项

Glew

sudo apt-get install libglew-dev

CMake

sudo apt-get install cmake

Python2 / Python3

sudo apt-get install libpython2.7-dev

可选依赖项(非必须安装,可以不安装)

FFMPEG (For video decoding and image rescaling)

sudo apt-get install ffmpeg libavcodec-dev libavutil-dev libavformat-dev libswscale-dev

DC1394 (For firewire input)

sudo apt-get install libdc1394-22-dev libraw1394-dev

libuvc (For cross-platform webcam video input via libusb)

git://github.com/ktossell/libuvc.git

安装依赖之后就可以下载代码,从github上获取最新代码

git clone https://github.com/stevenlovegrove/Pangolin.git
cd Pangolin
mkdir build
cd build
cmake ..
cmake --build .

安装完成

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!