Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CUDA does not support VS2015 yet. I just downloaded the source and CUDA, and there's a slightly different error message.

Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/Release/cuda_compile_generated_gpu_mat.cu.obj nvcc fatal : nvcc cannot find a supported version of Microsoft Visual Studio. Only the versions 2010, 2012, and 2013 are supported

CMake Error at cuda_compile_generated_gpu_mat.cu.obj.cmake:206 (message): Error generating F:/libraries/OpenCV/AVX2Solution/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/Release/cuda_compile_generated_gpu_mat.cu.obj

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1.

I realize you've probably figured this out by now, but hopefully it will help someone else.