Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How Do I Build OpenCV With MS Visual Studio?

I am trying to build OpenCV with MS visual studio 2017, and can't get it to work. Cmake seems to work just fine, but when I build in VS, I get a string of errors. The only file in the BIN directory after build is opencv_cudev320d.dll. Examples of the errors are: MSB6006 "cmd.exe" exited with code 1 opencv_core
and LNK1104 cannot open file "..\lib\debug\opencv_core320d.lib" opencv_ml

This is using the released version 3.2, I got the same results downloading the latest version in GitHub.

Any thoughts as to what I can do to fix this are appreciated.