无法安装libgdiplus

时间:2012-01-11 17:29:56

标签: macos compilation mono powerpc

使libgdiplus 2.10导致错误。我很难找到原因。它似乎是源文件pngcodec.c的问题。

我不确定这是不是一个错误,或者我只是做错了什么。我希望有一个建议,我应该在哪里解决这个问题。我正在编写一本powerbook g4 osx leopard 10.5 ppc。我已经从源代码成功安装了mono,xsp2和mod_mono,但是得到了

System.DllNotFoundException: gdiplus.dll
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

处理aspx文件时。

所以我正在尝试安装libgdiplus 2.10但是我正在跑墙。我也尝试了早期版本的libgdiplus,2.8,结果相同。任何帮助是极大的赞赏。

这是我得到的错误:

pngcodec.c: In function 'gdip_load_png_properties':
pngcodec.c:119: error: dereferencing pointer to incomplete type
pngcodec.c:119: error: dereferencing pointer to incomplete type
pngcodec.c:121: error: dereferencing pointer to incomplete type
pngcodec.c:122: error: dereferencing pointer to incomplete type
pngcodec.c:137: warning: passing argument 5 of 'png_get_iCCP' from incompatible pointer type
pngcodec.c: In function 'gdip_load_png_image_from_file_or_stream':
pngcodec.c:324: error: dereferencing pointer to incomplete type
pngcodec.c:325: error: dereferencing pointer to incomplete type
pngcodec.c:333: error: dereferencing pointer to incomplete type
pngcodec.c:333: error: dereferencing pointer to incomplete type
pngcodec.c:333: error: dereferencing pointer to incomplete type
pngcodec.c:342: error: dereferencing pointer to incomplete type
pngcodec.c:346: error: dereferencing pointer to incomplete type
pngcodec.c:346: error: dereferencing pointer to incomplete type
pngcodec.c:347: error: dereferencing pointer to incomplete type
pngcodec.c:347: error: dereferencing pointer to incomplete type
pngcodec.c:350: error: dereferencing pointer to incomplete type
pngcodec.c:351: error: dereferencing pointer to incomplete type
pngcodec.c:351: error: dereferencing pointer to incomplete type
pngcodec.c:351: error: dereferencing pointer to incomplete type
pngcodec.c:351: error: dereferencing pointer to incomplete type
pngcodec.c:494: error: dereferencing pointer to incomplete type
pngcodec.c:494: error: dereferencing pointer to incomplete type
pngcodec.c:494: error: dereferencing pointer to incomplete type
pngcodec.c:501: error: dereferencing pointer to incomplete type
pngcodec.c:501: error: dereferencing pointer to incomplete type
pngcodec.c:501: error: dereferencing pointer to incomplete type
pngcodec.c:508: error: dereferencing pointer to incomplete type
pngcodec.c:508: error: dereferencing pointer to incomplete type
pngcodec.c:508: error: dereferencing pointer to incomplete type
pngcodec.c:515: error: dereferencing pointer to incomplete type
pngcodec.c:515: error: dereferencing pointer to incomplete type
pngcodec.c:515: error: dereferencing pointer to incomplete type
make[2]: *** [pngcodec.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

1 个答案:

答案 0 :(得分:1)

pngcodec.c有一些错误。

我遇到了同样的错误,但是我用这个链接中的信息解决了它。

http://svnweb.mageia.org/packages/cauldron/libgdiplus/current/SOURCES/libgdiplus-2.10.1-libpng15.patch?revision=142282&view=markup&pathrev=142282