[Mono-devel-list] Problem when compiling against Cairo
scrumpler
scrumpler at teamanarchy.com
Sun Jan 4 10:48:25 EST 2004
I went out and got the latest Cairo snapshot and now when I build mcs I
get the following error... any ideas?
make[4]: Entering directory
`/home/scrumpler/projects/mono/mcs/class/System.Drawing/gdiplus'
cc -g -Wall `pkg-config --cflags cairo mono` -g -O2 -c -o bitmap.o
bitmap.c
In file included from bitmap.c:26:
gdip.h:290: error: syntax error before '*' token
gdip.h:290: warning: type defaults to `int' in declaration of
`GDIP_display'
gdip.h:290: warning: data definition has no type or storage class
In file included from bitmap.c:27:
gdip_win32.h:28: error: syntax error before "GC"
gdip_win32.h:28: warning: no semicolon at end of struct or union
gdip_win32.h:29: warning: type defaults to `int' in declaration of
`drawable'
gdip_win32.h:29: warning: data definition has no type or storage class
gdip_win32.h:30: warning: type defaults to `int' in declaration of
`X11DRV_PDEVICE'
gdip_win32.h:30: warning: data definition has no type or storage class
gdip_win32.h:36: error: syntax error before "X11DRV_PDEVICE"
gdip_win32.h:36: warning: no semicolon at end of struct or union
gdip_win32.h:37: warning: type defaults to `int' in declaration of `DC'
gdip_win32.h:37: warning: data definition has no type or storage class
gdip_win32.h:109: error: syntax error before '*' token
gdip_win32.h:109: warning: type defaults to `int' in declaration of
`_get_DC_by_HDC'
gdip_win32.h:109: warning: data definition has no type or storage class
bitmap.c: In function `____BitmapLockBits':
bitmap.c:344: warning: assignment makes integer from pointer without a
cast
make[4]: *** [bitmap.o] Error 1
make[4]: Leaving directory
`/home/scrumpler/projects/mono/mcs/class/System.Drawing/gdiplus'
make[3]: *** [all-local] Error 2
More information about the Mono-devel-list
mailing list