Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

My error is similar with yours. Later on it will generate many LNK errors. Maybe this is what I can found from the Output window. @StevenPuttemans

8> CMake Error at cuda_compile_generated_gpu_mat.cu.obj.cmake:206 (message): 8> Error generating 8> D:/software/OpenCV/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/Debug/cuda_compile_generated_gpu_mat.cu.obj 8>
8>
5> jidctflt.c 8> Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/Debug/cuda_compile_generated_gpu_mat.cu.obj 8>CUSTOMBUILD : nvcc warning : The 'compute_11', 'compute_12', 'compute_13', 'sm_11', 'sm_12', and 'sm_13' architectures are deprecated, and may be removed in a future release. 8>
8> Failed to run C:\Users\BRUCE_~1\AppData\Local\Temp/tmpxft_00001920_00000000-1.bat (Access is denied. 8>
8>
8> ). 8>
8> nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'E:/Program Files (x86)/Visual Studio 2013/VC/bin/../../VC/bin/amd64/vcvars64.bat' 8>
8>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1. 5> jidctfst.c

My error is similar with yours. Later on it will generate many LNK errors. Maybe this is what I can found from the Output window. @StevenPuttemans

8> CMake Error at cuda_compile_generated_gpu_mat.cu.obj.cmake:206 (message):
8> Error generating
8> D:/software/OpenCV/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/Debug/cuda_compile_generated_gpu_mat.cu.obj
8> 
8>
5> jidctflt.c 8> Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/Debug/cuda_compile_generated_gpu_mat.cu.obj 8>CUSTOMBUILD : nvcc warning : The 'compute_11', 'compute_12', 'compute_13', 'sm_11', 'sm_12', and 'sm_13' architectures are deprecated, and may be removed in a future release. 8>
8> Failed to run C:\Users\BRUCE_~1\AppData\Local\Temp/tmpxft_00001920_00000000-1.bat (Access is denied. 8>
8>
8> ). 8>
8> nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'E:/Program Files (x86)/Visual Studio 2013/VC/bin/../../VC/bin/amd64/vcvars64.bat' 8>
8>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1. 5> jidctfst.c

jidctfst.c