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

Peter Dennis Bartok peter at novonyx.com
Sat Oct 1 10:23:08 EDT 2005


It shouldn't assume, no. I've fixed the behaviour, it won't throw an 
exception anymore, as of svn r51076.


-----Original Message-----
From: "Baker, GJ (Gareth)" <g.j.baker at dl.ac.uk>
To: <mono-winforms-list at ximian.com>
Date: Saturday, 01 October, 2005 01:50
Subject: [Mono-winforms-list] System.Windows.Forms from svn on Mac OSX

>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)?
>Gareth Baker
>Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com

More information about the Mono-winforms-list mailing list