Hello,
trying to build freeimage:
C:\LUA\freeimage\FreeImage>mingw32-make -f Makefile.mingw
g++ -O3 -fexceptions -Wno-ctor-dtor-privacy -DNDEBUG -DWINVER=0x0500
-DFREEIMAGE_EXPORTS
-DOPJ_STATIC -DLIBRAW_NODLL -I. -ISo
urce -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG
-ISource/LibPNG
-ISource/LibTIFF4 -ISource/ZLib -ISource/Li
bOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex
-ISource/OpenEXR/IlmImf
-ISource/OpenEXR/IlmThread -ISo
urce/OpenEXR/Imath -ISource/LibRawLite -ISource/LibRawLite/dcraw
-ISource/LibRawLite/internal
-ISource/LibRawLite/libraw -ISo
urce/LibRawLite/src -ISource/LibWebP -ISource/LibJXR
-ISource/LibJXR/common/include
-ISource/LibJXR/image/sys -ISource/LibJXR
/jxrgluelib -c Source/FreeImage/FreeImage.cpp -o
Source/FreeImage/FreeImage.o
In file included from
C:/mingw32-4.8.3-posix-dwarf/i686-w64-mingw32/include/windows.h:9:0,
from Source/FreeImage/FreeImage.cpp:26:
C:/mingw32-4.8.3-posix-dwarf/i686-w64-mingw32/include/unknwnbase.h: In
member function 'HRESULT IUnknown::QueryInterface(Q**)
':
C:/mingw32-4.8.3-posix-dwarf/i686-w64-mingw32/include/unknwnbase.h:74:29:
error: '__mingw_uuidof' was not declared in this sc
ope
return QueryInterface(__uuidof(Q), (void **)pp);
^
C:/mingw32-4.8.3-posix-dwarf/i686-w64-mingw32/include/unknwnbase.h:74:29:
error: expected primary-expression before '__typeof
'
return QueryInterface(__uuidof(Q), (void **)pp);
^
C:/mingw32-4.8.3-posix-dwarf/i686-w64-mingw32/include/unknwnbase.h: At
global scope:
C:/mingw32-4.8.3-posix-dwarf/i686-w64-mingw32/include/unknwnbase.h:79:1:
error: expected initializer before '<' token
__CRT_UUID_DECL(IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00,
0x00,0x00,0x00,0x00,0x00,0x46)
^
Thanks
victor bombi
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public