ubuntu安装Pangolin过程

来源:互联网 发布:管家婆软件服装免费版 编辑:程序博客网 时间:2024/06/05 14:55

转载自:http://www.linuxdiyf.com/linux/25199.html

Pangolin 想必大家都非常熟悉了,这个是一款开源的OPENGL显示库,可以用来视频显示、而且开发容易。
代码我们可以从Github 进行下载:https://github.com/stevenlovegrove/Pangolin
一般我们按照一个库的时候,都需要依赖其他的库才行。
一般有Glew、CMake、Boost、Python2/Python3。
 
按照以下步骤即可(根据自己实际情况,你也直接复制粘贴以下命令):
sudo apt-get install libglew-dev  
sudo apt-get install cmake  
sudo apt-get install libboost-dev libboost-thread-dev libboost-filesystem-dev  
 
如果以上都安装完之后,现在我们就可以按照 Pangolin(其实就是cmake+make)
git clone https://github.com/stevenlovegrove/Pangolin.git  
cd Pangolin  
mkdir build  
cd build  
cmake -DCPP11_NO_BOOST=1 ..  
make -j 

0 0