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

MSB6006 Error when building OpenCV from source in VS2015

$
0
0
I'm following the instructions [here](http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html) for compiling OpenCV 2.4.11 from source. I'm using Windows 7 and Visual Studio 2015. The compilation always fails with a series of LNK1104 errors. However, I noticed that a small subset of the modules failed with a `MSB6006 cmd.exe exited with code 1` error; when I try to compile these I get: ------ Rebuild All started: Project: opencv_core, Configuration: Debug x64 ------ Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/Debug/cuda_compile_generated_matrix_operations.cu.obj nvcc fatal : Unsupported gpu architecture 'compute_11' CMake Error at cuda_compile_generated_matrix_operations.cu.obj.cmake:206 (message): Error generating C:/sdf3/opencv-2.4.11/vs2015-build/modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/Debug/cuda_compile_generated_matrix_operations.cu.obj C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1. They all seem to crash with seemingly CUDA-related issues. My assumption is that if `opencv_core2411d.lib` can't be created, that's probably cascading through and causing other `.lib` files to fail. What would be causing this `MSB6006` Error? I'm running CUDA v7.0 on my computer. thanks!

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>