sudo cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D CUDA_nppi_LIBRARY=true -D CUDA_GENERATION=Kepler ..
-D CUDA_nppi_LIBRARY=true 解决问题:
-D CUDA_GENERATION=Kepler 解决问题:
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
/usr/bin/ld: cannot find -ltrue