[Mono-list] 1.2.6 Native SWF on osx

oplusplus oplusplus at cox.net
Wed Dec 12 23:58:10 EST 2007


Great!

the quartz line worked for me, I could run the docking sample from  
the command line.

I don't really know about your blog though....

I've been lurking, waiting for the magic " We are going to package  
binaries for monodevelop/osx " announcement.

I may have missed it.
Can you repost it?


On Dec 12, 2007, at 11:27 PM, Geoff Norton wrote:

> If you want to run from the command line on 1.2.6:
>
> export MONO_MWF_USE_QUARTZ_BACKEND=1
>
> If you want to run frrom the command line with 1.2.6 + my updated
> driver from my blog you must ALSO do:
>
> export MONO_MWF_USE_CARBON_BACKEND=1
>
> -g
>
> On 12-Dec-07, at 10:22 PM, oplusplus wrote:
>
>> I have installed 1.2.6 and some of the samples from the Winforms
>> directory and they do not run, but instead I get an exception:
>>
>> Unhandled Exception: System.TypeInitializationException: An exception
>> was thrown by the type initializer for System.Windows.Forms.XplatUI
>> ---> System.ArgumentNullException: Could not open display (X-Server
>> required. Check you DISPLAY environment variable)
>> Parameter name: Display
>>   at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr
>> display_handle) [0x00000]
>>   at System.Windows.Forms.XplatUIX11..ctor () [0x00000]
>>   at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000]
>>   at System.Windows.Forms.XplatUI..cctor () [0x00000] --- End of
>> inner exception stack trace ---
>>
>>   at <0x00000> <unknown method>
>>   at System.Windows.Forms.Form.get_CreateParams () [0x00000]
>>   at System.Windows.Forms.Form.get_CreateParams () [0x00000]
>>   at System.Windows.Forms.Control.InternalSizeFromClientSize (Size
>> clientSize) [0x00000]
>>   at System.Windows.Forms.Control.ClientSizeFromSize (Size size)
>> [0x00000]
>>   at System.Windows.Forms.Control..ctor () [0x00000]
>>   at System.Windows.Forms.ScrollableControl..ctor () [0x00000]
>>   at System.Windows.Forms.ContainerControl..ctor () [0x00000]
>>   at System.Windows.Forms.Form..ctor () [0x00000]
>>   at MonoSamples.DockForm..ctor () [0x00000]
>>   at (wrapper remoting-invoke-with-check) MonoSamples.DockForm:.ctor
>> ()
>>   at MonoSamples.DockForm.Main (System.String[] args) [0x00000]
>>
>>
>> Is there something that I have to do, other than installing 1.2.6 to
>> get the osx native winforms to work?  I have x11 installed, but not
>> running.
>>
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list