ubuntu14.04 安装 opencv3.0

前端之家收集整理的这篇文章主要介绍了ubuntu14.04 安装 opencv3.0前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1. 下载opencv3.0 zip

2. 解压后放到虚拟机本地目录

3.库安装

sudoapt-getinstallbuild-essential

sudoapt-getinstalllibgtk2.0-devlibavcodec-devlibavformat-devlibtiff4-devlibswscale-devlibjasper-dev

sudoapt-getinstallcmake

sudoapt-getinstallpkg-config

4.进入opencv目录

mkdirbuild

cd build

cmake-DCMAKE_BUILD_TYPE=Release-DCMAKE_INSTALL_PREFIX=/usr/local ..

5.安装

make

make install



(1)2.4.9 cmake-gui CMakelists.txt去掉cuda、FFmpeg CUDA_GENERATION=Auto




源码编译

(1)

mkdir build

cd build

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/xxx ..

猜你在找的Ubuntu相关文章