[Mono-list] [mono-list] system.drawing.knowncolors exception

Oisín Grehan oising at gmail.com
Sat Aug 29 20:16:32 EDT 2009


(fixing subject antispam tag)

On Sat, Aug 29, 2009 at 8:15 PM, Oisín Grehan <oising at gmail.com> wrote:

> Hey,
>
> Trying to port a simple forms-based application:
>
> Unhandled Exception: System.TypeInitializationException: An exception was
> thrown by the type initializer for System.Drawing.KnownColors --->
> System.TypeInitializationException: An exception was thrown by the type
> initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
> /Library/Frameworks/Mono.framework/Versions/2.4.2.3/lib/libgdiplus.dylib
>   at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
> (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
>   at System.Drawing.GDIPlus..cctor () [0x000c6] in
> /private/tmp/monobuild/build/BUILD/mono-2.4.2.3/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:126
>
>   --- End of inner exception stack trace ---
>   at System.Drawing.KnownColors..cctor () [0x0001a] in
> /private/tmp/monobuild/build/BUILD/mono-2.4.2.3/mcs/class/System.Drawing/System.Drawing/KnownColors.cs:224
>
>   --- End of inner exception stack trace ---
>   at System.Drawing.Color.get_Black () [0x00000] in
> /private/tmp/monobuild/build/BUILD/mono-2.4.2.3/mcs/class/System.Drawing/System.Drawing/Color.cs:483
>
>   at TuioDemo..ctor (Int32 port) [0x00000] in
> /Users/oising/Downloads/TUIO_CSHARP/OSC.NET/OSCBundle.cs:1
>   at (wrapper remoting-invoke-with-check) TuioDemo:.ctor (int)
>   at TuioDemo.Main (System.String[] argv) [0x00052] in
> /Users/oising/Downloads/TUIO_CSHARP/TuioDemo.cs:224
>
> The application was terminated by a signal: SIGHUP
>
> Any suggestions? I'm a bit new to Mono.
>
> -Oisin
> --
>
> ---
> 404 signature missing
>



-- 

---
404 signature missing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090829/4bd60c3c/attachment-0001.html 


More information about the Mono-list mailing list