ubuntu下编译安装OpenCV 3.2.0
2018-11-07 本文已影响0人
萝莉薇
ubuntu下编译安装OpenCV 3.2.0
依赖安装
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential checkinstall cmake pkg-config yasm gfortran git
sudo apt-get install libjpeg8-dev libjasper-dev libpng12-dev
如果你在使用ubuntu 14.04 系统
1.sudo apt-get install libtiff4-dev
如果你在使用ubuntu 16.04 系统
1.sudo apt-get install libtiff5-dev
2.sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev
3.sudo apt-get install libxine2-dev libv4l-dev
4.sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
5.sudo apt-get install libqt4-dev libgtk2.0-dev libtbb-dev
6.sudo apt-get install libatlas-base-dev
7.sudo apt-get install libfaac-dev libmp3lame-dev libtheora-dev
8.sudo apt-get install libvorbis-dev libxvidcore-dev
9.sudo apt-get install libopencore-amrnb-dev libopencore-amrwb-dev
10.sudo apt-get install x264 v4l-utils