Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

looks like your setup for "Additional Include Directories" at "Configuration Properties -> C/C++ -> General" is wrong - more information needed: what's your current PATH, where is your opencv directory?

I.e. my setup (Win7 64 bit, VS2012, opencv 2.4.9):

"Additional Include Directories": $(OPENCV_DIR)\include

Win7 System Variables:

OPENCV_DIR: C:\opencv\build PATH: %OPENCV_DIR%\bin;

You should not copy paths from tutorials blindly, but refactor them to your own system. Look out for '\' use everywhere instead of '/'.