I have been using OpenCV under VisualStudio 6, 2005 and 2008 just
fine, and I'm trying to move to GCC (MinGW32) with Code::Blocks
I am getting a problem that I don't understand when compiling
In function `LRESULT FrameCallbackProc(HWND__*, VIDEOHDR*)':
error: `WM_CAP_FIRSTA' was not declared in this scope
error: `capSendMessage' was not declared in this scope
warning: unused variable 'WM_CAP_FIRSTA'
warning: unused variable 'capSendMessage'
All those are functions are declared in vfw.h, which is included at
start of cvcap_cfw.cpp