Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yeah as I remember I had a similar troubles with that damn paths when installed OpenCv for the first time.

Try to write the correct paths into your property list. Don't forget, that prefix "d" is only for debug mode, so if you defined 'opencv_core242d.lib it would works only in Debug mode In my properties in VS 2012 I set

C/C++->General/Additional Include Directories:$(OPENCV_DIR)\include

Linker/Additional include Directories:$(OPENCV_DIR)\x86\vc10\lib

Linker/Input:

opencv_core243d.lib opencv_imgproc243d.lib opencv_highgui243d.lib opencv_ml243d.lib opencv_video243d.lib opencv_features2d243d.lib opencv_calib3d243d.lib opencv_objdetect243d.lib opencv_contrib243d.lib opencv_legacy243d.lib opencv_flann243d.lib

Here is a step-by-step video(maybe helps):http://www.youtube.com/watch?v=cgo0UitHfp8