ubuntu16.04 安装opencv-2.4.9

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

 

posted @ 2020-07-01 16:19  hbg-rohens  阅读(435)  评论(0编辑  收藏  举报