Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 304

open_cv build fails

$
0
0
Some initial information: - Windows 7 Visual Studio 16 2019 - OpenCV 3.4.9 - CUDA 10.1 - CMake 3.16.2 - GTX 780 (compute capability up to 3.5) After generating the project in cmake and building it in VS, I get the following error: > 17>nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/../../../../../../../VC /Auxiliary/Build/vcvars64.bat' 17>CMake Error at cuda_compile_generated_gpu_mat.cu.obj.cmake:206 (message): 17> Error generating 17> D:/Program/OpenCV/opencv/modules/world/CMakeFiles/cuda_compile.dir/__/core/src/cuda/Debug/ cuda_compile_generated_gpu_mat.cu.obj There are other errors, but they stem from the generation failing. Is there a component in my environment that's not compatible or a step in the process that I may be missing?

Viewing all articles
Browse latest Browse all 304

Trending Articles