[Mono-osx] Running windowsforms application under MacOSX

Josselin Auguste josselin.auguste at gmail.com
Sun Feb 12 08:54:19 EST 2006


Hello,

i have the following problem when i try to run a winforms application
under MacOSX with Mono 1.1.13.2 :

Panpan:~/Desktop/CopieExterne/Pongo/P3MEditor/bin/Debug josselin$ mono
P3MEditor.exe

** (P3MEditor.exe:7758): WARNING **: The class
System.Windows.Forms.StatusStrip could not be loaded, used in
System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
Mono System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6 14:35:24]

Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for System.Drawing.GDIPlus --->
System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib
in (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
in <0x0018c> System.Drawing.GDIPlus:.cctor ()--- End of inner
exception stack trace ---

in <0x00000> <unknown method>
in <0x00010> System.Windows.Forms.Application:EnableVisualStyles ()
in <0x0000c> System.Windows.Forms.Application:EnableVisualStyles ()
in <0x00010> P3MEditor.Program:Main ()

But the libgdiplus.dylib file exists, and points to an existing
libgdiplus.0.0.0.dylib file :/ so i don't know what to do to resolve
the problem :/
I even don't know if it's a mono bug or a problem in my installation.
So maybe you have a clue, or a solution ?

Thank you,
Josselin Auguste


More information about the Mono-osx mailing list