From: Jeremy W. <jez...@ho...> - 2005-10-06 07:58:23
|
>- GUI.h, ImageList.xs allowed missing ImageList_* functions to be > compiled in under MinGW and Cygwin, if w32api package has high > enough version > >Jez, I'd be particularly interested to know that this compiles for you, >where you have a pre-3.2 w32api package from MinGW Doing a normal mingw build I get the following errors: ImageList.o(.text+0xd2a):ImageList.cpp: undefined reference to `ImageList_Copy@2 0' ImageList.o(.text+0x21c4):ImageList.cpp: undefined reference to `ImageList_DrawI ndirect@4' ImageList.o(.text+0x25e9):ImageList.cpp: undefined reference to `_Z19ImageList_D uplicateP10_IMAGELIST@4' NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' Stop. Playing around, I have the following (in w32api.h): #define __W32API_VERSION 2.5 #define __W32API_MAJOR_VERSION 2 #define __W32API_MINOR_VERSION 5 If I then change the logic in GUI.h to include these version numbers things compile fine. Cheers, jez. |