[Mono-osx] [OSX] Problems with libgdiplus

kangaroo grompf at sublimeintervention.com
Thu Nov 10 10:22:21 EST 2005


Apply this patch:

Index: src/pngcodec.c
===================================================================
--- src/pngcodec.c      (revision 52843)
+++ src/pngcodec.c      (working copy)
@@ -592,6 +592,7 @@
      }
      else {
#ifdef WORDS_BIGENDIAN
+       int j;
         guchar *row_pointer = GdipAlloc (image->width * 4);
         for (i = 0; i < image->height; i++) {

its fixed in svn too; thanks for the heads up

-kangaroo


On 10-Nov-05, at 10:05 AM, Jose Manuel Islas Romero wrote:

> Hi, I'm tryin to install mono on my powerbook, everything goes fine
> until i've tried to install libgdiplus-1.1.10 in order to develop
> winforms applications, but i can't. when i make lbgdiplus i sends this
> output:
>
>
> powerpc-apple-darwin8-gcc-4.0.0: unrecognized option `-pthread'
> pngcodec.c: In function 'gdip_save_png_image_to_file_or_stream':
> pngcodec.c:598: error: 'j' undeclared (first use in this function)
> pngcodec.c:598: error: (Each undeclared identifier is reported only  
> once
> pngcodec.c:598: error: for each function it appears in.)
> make[2]: *** [pngcodec.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
>
>
>
> Regards,
> TrentCioran
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>



More information about the Mono-osx mailing list