Hi,
I just built and installed the latest port:mono version hoping it would allow
me to run an MSWin application that is supposed to run under Mono.
It clearly tries, but then raises this error:
{{{
mono ~/.wine/drive_c/Program\ Files/Captvty3/Captvty.exe
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'Gtk.Application'
threw an exception. ---> System.DllNotFoundException: Gtk: libgtk-3-0.dll,
libgtk-3.so.0, libgtk-3.0.dylib, gtk-3.dll
at GLibrary.Load (Library library) [0x00049] in
<ed678d7d2aca40d6851e63f8b4fad44e>:0
at Gtk.Application..cctor () [0x00000] in
<ed678d7d2aca40d6851e63f8b4fad44e>:0
--- End of inner exception stack trace ---
at Eto.GtkSharp.Helper.Init () [0x00007] in
<4cf0479f207743939a93aea704a7b91e>:0
at Eto.GtkSharp.Forms.ApplicationHandler.Initialize () [0x00006] in
<4cf0479f207743939a93aea704a7b91e>:0
at Eto.WidgetHandler`1[TWidget].Eto.Widget.IHandler.Initialize () [0x00000]
in <64042fee4894435f8834e5c7dcc3c74f>:0
at Eto.Widget.Initialize () [0x0000a] in <64042fee4894435f8834e5c7dcc3c74f>:0
at Eto.Widget..ctor () [0x00080] in <64042fee4894435f8834e5c7dcc3c74f>:0
at Eto.Forms.Application..ctor (Eto.Forms.Application+InitHelper init)
[0x00027] in <64042fee4894435f8834e5c7dcc3c74f>:0
at Eto.Forms.Application..ctor (Eto.Platform platform) [0x00007] in
<64042fee4894435f8834e5c7dcc3c74f>:0
at Eto.Forms.Application..ctor () [0x00006] in
<64042fee4894435f8834e5c7dcc3c74f>:0
at _hAA+_IxA..ctor () [0x00000] in <8bd688a0ec7f4fb8a73d8e2b38603a07>:0
at _PrA._Pd () [0x00067] in <8bd688a0ec7f4fb8a73d8e2b38603a07>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type
initializer for 'Gtk.Application' threw an exception. --->
System.DllNotFoundException: Gtk: libgtk-3-0.dll, libgtk-3.so.0,
libgtk-3.0.dylib, gtk-3.dll
at GLibrary.Load (Library library) [0x00049] in
<ed678d7d2aca40d6851e63f8b4fad44e>:0
at Gtk.Application..cctor () [0x00000] in
<ed678d7d2aca40d6851e63f8b4fad44e>:0
--- End of inner exception stack trace ---
at Eto.GtkSharp.Helper.Init () [0x00007] in
<4cf0479f207743939a93aea704a7b91e>:0
at Eto.GtkSharp.Forms.ApplicationHandler.Initialize () [0x00006] in
<4cf0479f207743939a93aea704a7b91e>:0
at Eto.WidgetHandler`1[TWidget].Eto.Widget.IHandler.Initialize () [0x00000]
in <64042fee4894435f8834e5c7dcc3c74f>:0
at Eto.Widget.Initialize () [0x0000a] in <64042fee4894435f8834e5c7dcc3c74f>:0
at Eto.Widget..ctor () [0x00080] in <64042fee4894435f8834e5c7dcc3c74f>:0
at Eto.Forms.Application..ctor (Eto.Forms.Application+InitHelper init)
[0x00027] in <64042fee4894435f8834e5c7dcc3c74f>:0
at Eto.Forms.Application..ctor (Eto.Platform platform) [0x00007] in
<64042fee4894435f8834e5c7dcc3c74f>:0
at Eto.Forms.Application..ctor () [0x00006] in
<64042fee4894435f8834e5c7dcc3c74f>:0
at _hAA+_IxA..ctor () [0x00000] in <8bd688a0ec7f4fb8a73d8e2b38603a07>:0
at _PrA._Pd () [0x00067] in <8bd688a0ec7f4fb8a73d8e2b38603a07>:0
Exit 1
}}}
I'm not at all familiar with this framework so I don't know if I shoud somehow
provide a libgtk-3 DLL or if my native libgtk-3 DYLIB should be picked up but
simply isn't.
I see entries about GTk2 in /opt/local/etc/mono/config ; should I try adding
equivalent rules for GTk3? Or should there be a port:gtk-sharp3 ?
Thanks,
R.