The build works for me
Please turn on full compiler logging; if you want any more help in this or any other forum.
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
=== IVTLib, Win32 Release ===
src\VideoCapture\VFWCapture.cpp
mingw32-g++.exe -DAVSTREAMMASTER_NONE=1 -DAVSTREAMMASTER_AUDIO=0 -W -fexceptions -O2 -DWIN32 -DNDEBUG -D_MBCS -D_LIB -D_WIN32_WINNT=0x0400 -D_CRT_SECURE_NO_DEPRECATE -fno-strict-aliasing -I..\..\src -IC:\GreenApps\MinGW_Boost\include -c C:\SourceCode\Projects\IDEs\CodeBlocks\Projects\IVT\src\VideoCapture\VFWCapture.cpp -o Release\src\VideoCapture\VFWCapture.o
Note: My mingw is installed in C:\GreenApps\MinGW_Boost the normal place is C:\MinGW
Note: I added these defines to get past later error
-DAVSTREAMMASTER_NONE=1 -DAVSTREAMMASTER_AUDIO=0
IIRC, The -fno-strict-aliasing is needed using a MinGW GCC of 4.2.
I believe, the rest is there as result of importing the project into Code::Blocks.
Tim S
Details on My MinGW Installation; the one most likely to matter in this case is
Windows API Version mine is 3.13 (the value of __W32API_VERSION in file include/w32api.h)
GCCBASEDIR=C:\GreenApps\MinGW_Boost
gcc version 4.4.0 (GCC)
GNU ld (GNU Binutils) 2.19.1
GNU windres (GNU Binutils) 2.19.1
GNU dlltool (GNU Binutils) 2.19.1
GNU Make 3.81
#define __MINGW32_VERSION 3.15.2
#define __W32API_VERSION 3.13