install opencv 2.4.10 with issue :"nvcc fatal : Unsupported gpu architecture 'compute_11'"

issue:

nvcc fatal   : Unsupported gpu architecture ‘compute_11‘
CMake Error at cuda_compile_generated_matrix_operations.cu.o.cmake:206 (message):
  Error generating
/home/smie/Documents/opencv2.4.11/build/modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_gene

rated_matrix_operations.cu.o
make[2]: ***
[modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_generated_matrix_operations.cu.o] Error 1
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....

solution:

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D CUDA_GENERATION=Kepler -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON
-D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=OFF -D WITH_OPENGL=ON -D BUILD_TIFF=ON ..

install opencv 2.4.10 with issue :"nvcc fatal : Unsupported gpu architecture 'compute_11'"

时间: 2024-08-06 07:54:18

install opencv 2.4.10 with issue :"nvcc fatal : Unsupported gpu architecture 'compute_11'"的相关文章

OpenCV 2.4.10 Linux Conifguration

Download CMake 2.8.12 Extract the file, and run "./bootstrap", then "make", then "sudo make install" Add some dependencies, run "sudo apt-get install build-essential libgtk2.0-dev libavcodec-dev libavformat-dev libjpeg62

[openCV]Mac平台下openCV的搭建(Xcode + openCV 2.4.10)

1.序言 从今天开始,开始使用Mac来跑openCV了.开始感觉其实应该开发阻力不是太大样子,事实上来讲,其实比Windows要繁琐一些呢.现时点的配置为 os x yosemite 10.10.3 openCV 2.4.10(现时点的最新版本为:3.0 RC1) Xcode Version 6.3.2 (6D2105) 在这个配置下,我按照如下步骤搭建了我的openCV平台. 2.配置环境的步骤 2.1 openCV的选择 刚才也说了,现时点openCV的最近版本为openCV 3.0 RC1

Install OpenCV in Windows for Python

Here I will tell you how to install OpenCV 2.4x in Windows  for Python 2.7. Pre-requisites ( need to be downloaded ) : Python : Download latest version of Python 2.7 from Python site.Numpy : Download Numpy for Python 2.7 from here.OpenCV 2.4 : Downlo

Opencv 2.4.10 +VS2010 项目配置记录

1. 下载安装Opencv,去官网http://opencv.org/即可下载最新版本的Opencv,此处用的是Opencv 2.4.10 安装时傻瓜式的,最新版本的安装就是相当于解压到你指定的安装目录 2. 配置环境变量,我的电脑——属性——高级——环境变量 编辑PTAH: 对于32位系统,添加: "; xx你的安装目录xx\opencv\build\x86\vc10\bin”(用“;”进行分隔) 而对于64位系统,可以两个都添加上: ”; xx你的安装目录xx\opencv\build\x8

OpenCV 2.4.10 在VS2013上的配置

仅仅针对OpenCV 2.4.10以及VS2013,其他版本未测试 下载OpenCV 2.4.10并解压安装       进入OpenCV官方网站下载: http://opencv.org/downloads.html,我下载的版本是opencv-2.4.10.exe.       并解压到文件夹,比如我解压的文件夹是 D:\Program Files (x86)\opencv. 配置环境变量       在环境变量的系统变量下,在变量名为Path的值里添加目录           D:\Pro

windows下编译caffe报错:error MSB4062: 未能从程序集 E:\NugetPackages\OpenCV.2.4.10\......的解决办法

参考博客:http://blog.csdn.net/u013277656/article/details/75040459 在windows上编译caffe时,用vs打开后会自动加载还原NugetPackages文件夹,里面是caffe需要依赖的各种库. 费了很长时间还原完成编译时,出现错误:error MSB4062: 未能从程序集 E:\NugetPackages\OpenCV.2.4.10\build\native\private\coapp.NuGetNativeMSBuildTasks

nvcc fatal : Cannot find compiler 'cl.exe' in PATH解决方法

我在测试安装的deep learning工具theano.按照官网Baby Steps - Algebra一步步输入. >>> import theano.tensor as T >>> from theano import function >>> x = T.dscalar('x') >>> y = T.dscalar('y') >>> z = x + y >>> f = function([x

Mac OS X 10.10 编译代码出错 fatal error: '__debug' file not found #include <__debug>

1. 错误描述 在mac系统升级到yosemite,或者Xcode版本升级后,在编译c++程序的时候无法通过,错误类型如下: 2. 解决方案 创建一个临时文件"__debug",可以解决这个问题.在命令行中执行以下代码: $ echo '#define _LIBCPP_ASSERT(x, m) ((void)0)' | sudo tee -a /Library/Developer/CommandLineTools/usr/include/c++/v1/__debug > /dev

ubuntu 11.10 (64bit) install opencv 2.4.8 and run in Qtcreator

install gtk2+ sudo apt-get install libgtk2.0*sudo apt-get install cmake-qt-gui tar xzvf opencv-2.4.8.tar.gz mkdir build in the ~ dir the opencv-2.4.8 in the same ~ dir run cmake-qt-gui cd to the build dir run make if the error (2.4.8)error:   /opencv