Ubuntu下安装opencv 2.4.11

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

Opencv2.* 对应cuda7.5
Opencv3.* 对应cuda8.0

Ubuntu下安装opencv 2.4.11

$ sudo apt-get install build-essential
$ sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
$ sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
$ cd ~/opencv-2.4.11
$ mkdir release 
$ cd release
$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
$ make
$ sudo make install

Unsupported gpu architecture ‘compute_11’解决方法

$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D CUDA_GENERATION=Kepler ..

alt+ctrl+F1黑屏 ,解决方案

原文链接:https://www.f2er.com/ubuntu/354602.html

猜你在找的Ubuntu相关文章