Hello - I am getting these errors when trying to compile libgdiplus on WIN32... this is the latest code from SVN.&nbsp; From what I can see icint.h is trying to use __int64.&nbsp; See below for second error in cairoint.h<br><br>All 3 problems seem to be related to header definitions:
<br><br>__int64 in icint.h<br>pthread.h<br>INT32&nbsp; in Xmd.h vs. basetsd.h<br><br>&gt;uname -a<br>CYGWIN_NT-5.1 Fardalay 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin<br><br><br>I am building from ./autogen.sh; make<br><br>
Any help for getting mono compiled on WIN32 would be greatly appreciated.<br>Thanks,<br>Duane<br><br><pre>make  all-recursive<br>make[1]: Entering directory `/download/mono-src/libgdiplusSVN/libgdiplus'<br>Making all in cairo
<br>make[2]: Entering directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo'<br>make  all-recursive<br>make[3]: Entering directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo'<br>Making all in pixman<br>make[4]: Entering directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo/pixman'
<br>Making all in src<br>make[5]: Entering directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo/pixman/src'<br>if /bin/sh ../../libtool --tag=CC --mode=compile gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.   -I/usr/local/include  -g -O2 -MT 
fbpict.lo -MD -MP -MF &quot;.deps/fbpict.Tpo&quot; -c -o fbpict.lo fbpict.c; \<br>then mv -f &quot;.deps/fbpict.Tpo&quot; &quot;.deps/fbpict.Plo&quot;; else rm -f &quot;.deps/fbpict.Tpo&quot;; exit 1; fi<br> gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -I/usr/local/include -g -O2 -MT 
fbpict.lo -MD -MP -MF .deps/fbpict.Tpo -c fbpict.c  -DPIC -o .libs/fbpict.o<br>In file included from pixman-xserver-compat.h:47,<br>                 from fbpict.c:29:<br>icint.h:1009: error: parse error before &quot;xFixed_32_32&quot;
<br>icint.h:1009: warning: data definition has no type or storage class<br>icint.h:1027: error: parse error before &quot;xFixed_48_16&quot;<br>icint.h:1027: warning: data definition has no type or storage class<br>make[5]: *** [
fbpict.lo] Error 1<br>make[5]: Leaving directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo/pixman/src'<br>make[4]: *** [all-recursive] Error 1<br>make[4]: Leaving directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo/pixman'
<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo'<br>make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo'
<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/download/mono-src/libgdiplusSVN/libgdiplus'<br>make: *** [all] Error 2</pre>--------------&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&nbsp;&nbsp; second error
<br><pre>make[4]: Leaving directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo/pixman'<br>Making all in src<br>make[4]: Entering directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo/src'<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/include/libpng12    -Id:/PROGRA~1/MONO-1~1.14/include   -Id:/PROGRA~1/MONO-1~1.14/include/freetype2   -Wall -Wpointer-arith -Wstrict-prototypes         -Wmissing-prototypes -Wmissing-declarations         -Wnested-externs -fno-strict-aliasing  -I/usr/local/include  -g -O2 -MT 
cairo.lo -MD -MP -MF &quot;.deps/cairo.Tpo&quot; -c -o cairo.lo cairo.c; \<br>then mv -f &quot;.deps/cairo.Tpo&quot; &quot;.deps/cairo.Plo&quot;; else rm -f &quot;.deps/cairo.Tpo&quot;; exit 1; fi<br> gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/include/libpng12 &quot;-Id:/PROGRA~1/MONO-1~1.14/include&quot; &quot;-Id:/PROGRA~1/MONO-1~1.14/include/freetype2&quot; -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/local/include -g -O2 -MT 
cairo.lo -MD -MP -MF .deps/cairo.Tpo -c cairo.c  -DPIC -o .libs/cairo.o<br>In file included from cairoint.h:134,<br>                 from cairo.c:38:<br>/usr/include/pthread.h:75: error: parse error before '*' token<br>/usr/include/pthread.h:76: error: parse error before '*' token
<br>/usr/include/pthread.h:77: error: parse error before '*' token<br>/usr/include/pthread.h:78: error: parse error before '*' token<br>/usr/include/pthread.h:79: error: parse error before '*' token<br>/usr/include/pthread.h:80: error: parse error before '*' token
<br>/usr/include/pthread.h:81: error: parse error before '*' token<br>/usr/include/pthread.h:82: error: parse error before '*' token<br>/usr/include/pthread.h:83: error: parse error before '*' token<br>/usr/include/pthread.h:84: error: parse error before '*' token
<br>/usr/include/pthread.h:85: error: parse error before '*' token<br>/usr/include/pthread.h:86: error: parse error before '*' token<br>/usr/include/pthread.h:125: error: parse error before '*' token<br>/usr/include/pthread.h:126: error: parse error before '*' token
<br>/usr/include/pthread.h:127: error: parse error before '*' token<br>/usr/include/pthread.h:128: error: parse error before '*' token<br>/usr/include/pthread.h:129: error: parse error before '*' token<br>/usr/include/pthread.h:131: error: parse error before '*' token
<br>/usr/include/pthread.h:132: error: parse error before '*' token<br>/usr/include/pthread.h:133: error: parse error before '*' token<br>/usr/include/pthread.h:134: error: parse error before '*' token<br>/usr/include/pthread.h:135: error: parse error before '*' token
<br>/usr/include/pthread.h:137: error: parse error before '*' token<br>/usr/include/pthread.h:138: error: `pthread_create' declared as function returning a function<br>/usr/include/pthread.h:138: error: parse error before &quot;void&quot;
<br>/usr/include/pthread.h:142: error: parse error before &quot;int&quot;<br>/usr/include/pthread.h:144: error: parse error before &quot;void&quot;<br>/usr/include/pthread.h:145: error: parse error before '*' token<br>/usr/include/pthread.h:145: error: parse error before ')' token
<br>/usr/include/pthread.h:149: error: parse error before '*' token<br>/usr/include/pthread.h:150: error: parse error before '*' token<br>/usr/include/pthread.h:151: error: parse error before '*' token<br>/usr/include/pthread.h:152: error: parse error before '*' token
<br>/usr/include/pthread.h:153: error: parse error before '*' token<br>/usr/include/pthread.h:154: error: parse error before '*' token<br>/usr/include/pthread.h:155: error: parse error before '*' token<br>/usr/include/pthread.h:156: error: parse error before '*' token
<br>/usr/include/pthread.h:157: error: parse error before '*' token<br>/usr/include/pthread.h:158: error: parse error before '*' token<br>/usr/include/pthread.h:159: error: parse error before '*' token<br>/usr/include/pthread.h:160: error: parse error before '*' token
<br>/usr/include/pthread.h:161: error: parse error before '*' token<br>/usr/include/pthread.h:162: error: parse error before '*' token<br>/usr/include/pthread.h:163: error: parse error before '*' token<br>/usr/include/pthread.h:164: error: parse error before '*' token
<br>/usr/include/pthread.h:165: error: parse error before '*' token<br>/usr/include/pthread.h:168: error: parse error before '*' token<br>/usr/include/pthread.h:169: error: parse error before '*' token<br>/usr/include/pthread.h:170: error: parse error before '*' token
<br>/usr/include/pthread.h:171: error: parse error before '*' token<br>/usr/include/pthread.h:172: error: parse error before '*' token<br>/usr/include/pthread.h:173: error: parse error before '*' token<br>/usr/include/pthread.h:174: error: parse error before '*' token
<br>/usr/include/pthread.h:175: error: parse error before '*' token<br>/usr/include/pthread.h:176: error: parse error before '*' token<br>/usr/include/pthread.h:178: error: parse error before '*' token<br>/usr/include/pthread.h:179: error: parse error before '*' token
<br>/usr/include/pthread.h:181: error: parse error before '*' token<br>/usr/include/pthread.h:181: error: parse error before ')' token<br>/usr/include/pthread.h:188: error: parse error before &quot;pthread_self&quot;<br>/usr/include/pthread.h:191: error: parse error before &quot;int&quot;
<br>/usr/include/pthread.h:192: error: parse error before &quot;const&quot;<br><br><br>make[4]: *** [cairo.lo] Error 1<br></pre><br>------------------------=================<br>Third error<br><br><pre>ake[4]: Entering directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo/src'
<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/include/libpng12    -Id:/PROGRA~1/MONO-1~1.14/include   -Id:/PROGRA~1/MONO-1~1.14/include/freetype2   -Wall -Wpointer-arith -Wstrict-prototypes         -Wmissing-prototypes -Wmissing-declarations         -Wnested-externs -fno-strict-aliasing  -I/usr/local/include  -g -O2 -MT 
cairo-ft-font.lo -MD -MP -MF &quot;.deps/cairo-ft-font.Tpo&quot; -c -o cairo-ft-font.lo cairo-ft-font.c; \<br>then mv -f &quot;.deps/cairo-ft-font.Tpo&quot; &quot;.deps/cairo-ft-font.Plo&quot;; else rm -f &quot;.deps/cairo-
ft-font.Tpo&quot;; exit 1; fi<br> gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/include/libpng12 &quot;-Id:/PROGRA~1/MONO-1~1.14/include&quot; &quot;-Id:/PROGRA~1/MONO-1~1.14/include/freetype2&quot; -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/local/include -g -O2 -MT 
cairo-ft-font.lo -MD -MP -MF .deps/cairo-ft-font.Tpo -c cairo-ft-font.c  -DPIC -o .libs/cairo-ft-font.o<br>cairo-ft-font.c: In function `_get_pattern_load_flags':<br>cairo-ft-font.c:1339: warning: unused variable `rgba'<br>
 gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/include/libpng12 &quot;-Id:/PROGRA~1/MONO-1~1.14/include&quot; &quot;-Id:/PROGRA~1/MONO-1~1.14/include/freetype2&quot; -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/local/include -g -O2 -MT 
cairo-ft-font.lo -MD -MP -MF .deps/cairo-ft-font.Tpo -c cairo-ft-font.c -o cairo-ft-font.o &gt;/dev/null 2&gt;&amp;1<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/include/libpng12    -Id:/PROGRA~1/MONO-1~1.14/include   -Id:/PROGRA~1/MONO-1~1.14/include/freetype2   -Wall -Wpointer-arith -Wstrict-prototypes         -Wmissing-prototypes -Wmissing-declarations         -Wnested-externs -fno-strict-aliasing  -I/usr/local/include  -g -O2 -MT 
cairo-png.lo -MD -MP -MF &quot;.deps/cairo-png.Tpo&quot; -c -o cairo-png.lo cairo-png.c; \<br>then mv -f &quot;.deps/cairo-png.Tpo&quot; &quot;.deps/cairo-png.Plo&quot;; else rm -f &quot;.deps/cairo-png.Tpo&quot;; exit 1; fi
<br> gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/include/libpng12 &quot;-Id:/PROGRA~1/MONO-1~1.14/include&quot; &quot;-Id:/PROGRA~1/MONO-1~1.14/include/freetype2&quot; -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/local/include -g -O2 -MT 
cairo-png.lo -MD -MP -MF .deps/cairo-png.Tpo -c cairo-png.c  -DPIC -o .libs/cairo-png.o<br> gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/include/libpng12 &quot;-Id:/PROGRA~1/MONO-1~1.14/include&quot; &quot;-Id:/PROGRA~1/MONO-1~1.14/include/freetype2&quot; -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/local/include -g -O2 -MT 
cairo-png.lo -MD -MP -MF .deps/cairo-png.Tpo -c cairo-png.c -o cairo-png.o &gt;/dev/null 2&gt;&amp;1<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/include/libpng12    -Id:/PROGRA~1/MONO-1~1.14/include   -Id:/PROGRA~1/MONO-1~1.14/include/freetype2   -Wall -Wpointer-arith -Wstrict-prototypes         -Wmissing-prototypes -Wmissing-declarations         -Wnested-externs -fno-strict-aliasing  -I/usr/local/include  -g -O2 -MT 
cairo-xlib-surface.lo -MD -MP -MF &quot;.deps/cairo-xlib-surface.Tpo&quot; -c -o cairo-xlib-surface.lo cairo-xlib-surface.c; \<br>then mv -f &quot;.deps/cairo-xlib-surface.Tpo&quot; &quot;.deps/cairo-xlib-surface.Plo&quot;; else rm -f &quot;.deps/cairo-
xlib-surface.Tpo&quot;; exit 1; fi<br> gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/include/libpng12 &quot;-Id:/PROGRA~1/MONO-1~1.14/include&quot; &quot;-Id:/PROGRA~1/MONO-1~1.14/include/freetype2&quot; -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/local/include -g -O2 -MT 
cairo-xlib-surface.lo -MD -MP -MF .deps/cairo-xlib-surface.Tpo -c cairo-xlib-surface.c  -DPIC -o .libs/cairo-xlib-surface.o<br>In file included from /usr/include/X11/extensions/renderproto.h:29,<br>                 from cairo-xlib-surface.c
:44:<br>/usr/include/X11/Xmd.h:132: error: conflicting types for 'INT32'<br>/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/basetsd.h:52: error: previous declaration of 'INT32' was here<br>/usr/include/X11/Xmd.h:157: error: conflicting types for 'BOOL'
<br>/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/windef.h:227: error: previous declaration of 'BOOL' was here<br>make[4]: *** [cairo-xlib-surface.lo] Error 1<br>make[4]: Leaving directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo/src'
<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo'<br>make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/download/mono-src/libgdiplusSVN/libgdiplus/cairo'
<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/download/mono-src/libgdiplusSVN/libgdiplus'<br>make: *** [all] Error 2</pre><br>