Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

With static lib project property>Debug> C/C++>Code Generation>Runtime Library>Multi-threaded Debug (/MTd)

For dynamic (DLL) lib select Multi-threaded Debug DLL (/MDd).

in Release project select appropriate values for the same option

With static lib project property>Debug> C/C++>Code Generation>Runtime Library>Multi-threaded Debug (/MTd) In Visual Studio, you have to right select the Runtime Library option in your application project. See below:

For dynamic Go to Project Property > C/C++ > Code Generation > Runtime Library and set

if you are using OpenCV Dynamic (DLL) lib select Lib

  • Debug Configuration: Multi-threaded Debug DLL (/MDd).
  • Release Configuration: Multi-threaded DLL (/MD)

esle, with OpenCV Static Lib

in

  • Debug Configuration: Multi-threaded Debug (/MTd)
  • Release project select appropriate values for the same option

    Configuration: Multi-threaded (/MT)

In Visual Studio, you have to right select the Runtime Library option in your application project. See below:

Go to Project Property > C/C++ > Code Generation > Runtime Library and set

if you are using OpenCV Dynamic (DLL) Lib

  • Debug Configuration: Multi-threaded Debug DLL (/MDd)
  • Release Configuration: Multi-threaded DLL (/MD)

esle, else, with OpenCV Static Lib

  • Debug Configuration: Multi-threaded Debug (/MTd)
  • Release Configuration: Multi-threaded (/MT)