I have a GTX 980 Gpu and want to compile OpenCV with Cuda. For that reason, I have installed Cuda Toolkit 7.5.
In the configuration of CMake, NVIDIA GPU arch is 20 21 30 35and PTX archs is 30. When I compile OpenCV.sln, I get this two errors:
3126 error : Could not open file for write in copy operation C:/opencv/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.obj.cmake.tmp C:opencvbuildmodulescudafiltersCUSTOMBUILD opencv_test_cudafilters
3626 error MSB6006: "cmd.exe" exited with code 1.
Is the GPU arch probably not right selected? What do I have to change, in order to be able using a GTX980?
