nvcc致命:不支持的gpu架构'compute_52' - OpenCV 2.5 build

时间:2017-10-31 13:33:32

标签: opencv build terminal nvcc

我无法在红帽7.1上编译opencv 2.5

已尝试过各种cmake选项,例如:

cmake -D BUILD_TIFF = ON -D CUDA_GENERATION =自动../ cmake -D BUILD_TIFF = ON -D WITH_CUDA = OFF ../

这是终端输出:

Scanning dependencies of target pch_Generate_opencv_test_videostab
Scanning dependencies of target pch_Generate_opencv_videostab
[ 27%] Built target pch_Generate_opencv_perf_cudaoptflow
[ 27%] Generating precomp.hpp
[ 27%] Generating test_precomp.hpp
[ 27%] Generating precomp.hpp.gch/opencv_videostab_Release.gch
[ 27%] Generating test_precomp.hpp.gch/opencv_test_videostab_Release.gch
[ 27%] Built target pch_Generate_opencv_test_cudaoptflow
[ 27%] Processing OpenCL kernels (core)
[ 27%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o
**nvcc fatal   : Unsupported gpu architecture 'compute_52'**
**CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:206 (message):
  Error generating**
  /home/yioannidis/Downloads/opencv2_5/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o

0 个答案:

没有答案