[Mono-osx] Gtk# on MacOSX using the native (quartz) Gtk+?
Ludovic Rousseau
ludovic.rousseau at gmail.com
Mon May 29 10:56:16 EDT 2006
Hello,
I am trying to use Gtk# on Tiger using the native Gtk+ (using quartz
and not X11). I have Gtk+ working (version 2.9.0 recompiled from CVS)
and recompiled gtk-sharp-2.8.2.
I modified /Library/Frameworks/Mono.framework/Versions/Current/lib/mono/gac/gtk-sharp/2.8.0.0__35e10195dab3c99f/gtk-sharp.dll.config
to replace "libgtk-x11-2.0.0.dylib" by "libgtk-quartz-2.0.0.dylib".
But it crashes. I have:
$ mono button.exe
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Stacktrace:
in (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&)
<0xffffffff>
in (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&) <0x90>
in Gtk.Application:Init () <0x44>
in GtkSamples.ButtonApp:Main (string[]) <0x2c>
in (wrapper runtime-invoke) System.Object:runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0x68>
Abort trap
I have the exact same problem if I use "libgtk-x11-2.0.0.dylib" and
X11 so it should not be related to my Gtk+ recompiled for quartz.
Has anybody tried this before?
Thanks,
--
Dr. Ludovic Rousseau
More information about the Mono-osx
mailing list