Sorry, didn't send the previous update w/ the correct subj. line which included the test config.
In any case, the latest XCode, X11 and XQuarz as well as GTK from macports already installed on 10.7.5. Any other ideas? Jeff On 11/29/2012 11:26 AM, Rodrigo Kumpera wrote: > Install X11 on your mac. > > > On Thu, Nov 29, 2012 at 12:24 PM, jeff clausius <[email protected] > <mailto:[email protected]>> wrote: > > > Also, just tried this suggestion against the 3.0.1 Mono release. This > presents a whole different set of problems: > > Unhandled Exception: > System.TypeInitializationException: An exception was thrown by the type > initializer for System.Windows.Forms.XplatUI ---> > System.DllNotFoundException: libX11.dylib > at (wrapper managed-to-native) > System.Windows.Forms.XplatUIX11:XInitThreads () > at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename > unknown>:0 > at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in > <filename unknown>:0 > at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename > unknown>:0 > --- End of inner exception stack trace --- > at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in > <filename unknown>:0 > at WindowsFormsApplicationMono1.Program.Main () [0x00000] in <filename > unknown>:0 > [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: > An exception was thrown by the type initializer for > System.Windows.Forms.XplatUI ---> System.DllNotFoundException: > libX11.dylib > at (wrapper managed-to-native) > System.Windows.Forms.XplatUIX11:XInitThreads () > at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename > unknown>:0 > at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in > <filename unknown>:0 > at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename > unknown>:0 > --- End of inner exception stack trace --- > at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in > <filename unknown>:0 > at WindowsFormsApplicationMono1.Program.Main () [0x00000] in <filename > unknown>:0 > > I will be looking into ways around the "libX11.dylib" issue. Symlink > perhaps? > > Jeff > > On 11/28/2012 6:00 AM, [email protected] > <mailto:[email protected]> wrote: > > WinForms works the worst on Mac. Although I don't have a Mac, I > recommend the > > users of my WinForms app to run their app this way, and it seems > to work > > fine for them: "MONO_MWF_MAC_FORCE_X11=1 mono yourapp.exe" > > That makes it so it runs the app using the X11 driver rather than > the Mac > > (Carbon) one, which means the app should work as well as on Linux. > The only > > problem is that it requires an X11 server to be installed on the Mac. > _______________________________________________ > Mono-list maillist - [email protected] > <mailto:[email protected]> > http://lists.ximian.com/mailman/listinfo/mono-list > > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
