[Mono-devel-list] can't build libgdiplus
James Fitzsimons
james.fitzsimons at gmail.com
Sun Dec 5 11:49:06 EST 2004
Hi Kelly,
On Sun, 2004-12-05 at 16:26, Kelly Leahy wrote:
> 2) edit the gdip_win32.h file to #define __stdcall to
> nothing rather than __attribute(__stdcall__).
Thanks! That worked a treat.
Problem now is I get the following error:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -Wall -Werror
-Wno-unused -Wno-format -g -O2 -pthread -MT graphics.lo -MD -MP -MF
.deps/graphics.Tpo -c graphics.c -fPIC -DPIC -o .libs/graphics.o
graphics.c: In function `GdipCreateFromHDC':
graphics.c:292: warning: cast to pointer from integer of different size
graphics.c: In function `GdipCreateFromHWND':
graphics.c:318: warning: cast from pointer to integer of different size
graphics.c:327: warning: cast from pointer to integer of different size
graphics.c: In function `GdipGetDC':
graphics.c:382: warning: cast from pointer to integer of different size
graphics.c: In function `GdipReleaseDC':
graphics.c:391: warning: cast to pointer from integer of different size
graphics.c:396: warning: cast to pointer from integer of different size
make[2]: *** [graphics.lo] Error 1
make[2]: Leaving directory
`/home/james/development/MonoProjects/libgdiplus/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/james/development/MonoProjects/libgdiplus'
make: *** [all] Error 2
james at athos libgdiplus $
Any ideas?
Thanks very much,
James Fitzsimons
--
It's 5.50 a.m.... Do you know where your stack pointer is ?
More information about the Mono-devel-list
mailing list