[Mono-list] Can't Build libgdiplus-0.8
Jordi Mas
jordi@ximian.com
Thu, 10 Jun 2004 22:24:42 +0200
El dijous 10 de juny del 2004 a les 11:46 -0700, en/na Kevin Berry va
escriure:
> I'm using Mandrake 10. I've successfully built mono,
> mcs and xsp. But I'm having trouble building
> libgdiplus-0.8.
>
> There appears to be a mismatch in the gifcodec.h and
> gifcodec.c files. It complains about lines 25 and 395
> respectively. The function that has a differing
> declaration is gdip_save_gif_image_to_file. In the
> header file it is defined to take an "unsigned char
> *filename" param, while in the .c file it takes "FILE
> *fp" as the first parameter.
>
> Are the libgdiplus-0.8 source downloads bad at
> http://www.go-mono.com/download.html
Hello Kevin,
There is a problem, the stubs used when libgif is not present do not
match the latest functions definitions. I have fixed this in CVS. You
only hit the problem if you have libgif installed.
If you want to fix this quick, I recommend you to install libgif, these
stubs will not be used and libgdiplus should compile just fine.
Thanks for letting us this problem.
Best Regards,
Jordi,