Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I solved my problem. All you need to do is to pay attention linking only the librarys with a "d" if you are using debug mode in Visual Studio. I was using both like:

opencv_imgproc401d.lib, opencv_imgproc401.lib, opencv.ximg....

After changing the additional linker dependencies only to the debug librarys

opencv_imgproc401d.lib;opencv_ximgproc401d.lib;opencv_core401d.lib;

everything worked fine for me.