[Mono-winforms-list] System.Windows.Forms from svn on Mac OSX

Baker, GJ (Gareth) g.j.baker at dl.ac.uk
Sat Oct 1 03:42:16 EDT 2005


I compiled SWF from the svn this morning. It seemed to go in OK. I then tried to compile and run a programme in the Mac X11 environment and got the following error:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.X11DesktopColors ---> System.DllNotFoundException: libgtk-x11-2.0.so
in (wrapper managed-to-native) System.Windows.Forms.X11DesktopColors:gtk_init_check (int&,string)
in <0x00098> System.Windows.Forms.X11DesktopColors:.cctor ()--- End of inner exception stack trace ---

Should SWF be assuming I have gtk installed (which I don't)?

Regards
Gareth Baker



More information about the Mono-winforms-list mailing list