[Mono-osx] Problems with first WinForms Hello World

Armin Arnegger arnegger@innosolv.ch
Sat, 9 Apr 2005 14:00:59 +0200


Hi all

I've tried to run my first OS X Winforms Application.
Based up the tutorial
http://oepapel.blogspot.com/2005/04/windowsforms-and-mac-osx.html.

But it doesn't work :-( See message below.

My Environment:
Mac OS X : 10.3.8
Mono Version: http://homepage.mac.com/adhamh/MonoFramework-1.1.6-4.dmg
OS Settings: Swiss German

Another Question:
Why is keyboard layout spanish? My keyboard layout is swiss german.

Thank you for help

Armin

>>>> Begin message >>>>>
Armin-Arneggers-Computer:~/Documents/Mono/WinForms on OS X developeruser$
mono --version
Mono JIT compiler version 1.1.6, (C) 2002-2005 Novell, Inc and Contributors.
www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV      : normal
        Globalization: normal
Armin-Arneggers-Computer:~/Documents/Mono/WinForms on OS X developeruser$
mono Hello.exe
Mono System.Windows.Forms Assembly [Revision: 41731; built: 2005/2/15
5:56:12]
Keyboard: Spanish keyboard layout

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for Mono.Unix.Syscall --->
System.DllNotFoundException: libMonoPosixHelper.dylib
in <0x000cc> (wrapper managed-to-native) Mono.Unix.Syscall:_L_ctermid ()
in <0x00010> Mono.Unix.Syscall:.cctor ()
--- End of inner exception stack trace ---

in (unmanaged) Mono.Unix.Syscall:poll (Mono.Unix.Pollfd[],uint,int)
in <0x00194> System.Windows.Forms.XplatUIX11:UpdateMessageQueue ()
in <0x00190> System.Windows.Forms.XplatUIX11:UpdateMessageQueue ()
in <0x000d0> System.Windows.Forms.XplatUIX11:GetMessage
(System.Windows.Forms.MSG&,intptr,int,int)
in <0x00058> System.Windows.Forms.XplatUI:GetMessage
(System.Windows.Forms.MSG&,intptr,int,int)
in <0x00a4c> System.Windows.Forms.Application:ModalRun
(System.Windows.Forms.Form)
in <0x000c8> System.Windows.Forms.Form:ShowDialog
(System.Windows.Forms.IWin32Window)
in <0x00084> (wrapper remoting-invoke-with-check)
System.Windows.Forms.Form:ShowDialog (System.Windows.Forms.IWin32Window)
in <0x00020> System.Windows.Forms.Form:ShowDialog ()
in <0x0006c> (wrapper remoting-invoke-with-check)
System.Windows.Forms.Form:ShowDialog ()
in <0x00050> MessageBoxForm:RunDialog ()
in <0x0006c> (wrapper remoting-invoke-with-check) MessageBoxForm:RunDialog
()
in <0x00068> System.Windows.Forms.MessageBox:Show (string)
in <0x00014> WinFormsHello:Main ()

Armin-Arneggers-Computer:~/Documents/Mono/WinForms on OS X developeruser$

>>>> end message >>>>>