Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

LIBS += C:/C/opencv/build/x86/vc10/lib/opencv_highgui240d.lib LIBS += C:/C/opencv/build/x86/vc10/lib/opencv_highgui240.lib

^ Don't link debug AND release version in the same build. Use the *d.lib for debug and *.lib for release. I guess that this is the problem.

And why do you open an image file with the videocapture class?