GtkD 1.0 released

Anders F Björklund afb at algonet.se
Thu Sep 18 04:52:34 PDT 2008


>> GtkD 1.0 is now available, get it from dsource:
>> http://www.dsource.org/projects/gtkd/
> 
> I updated my previous gtkD patch for Mac OS X,
> but gtkD still crashes on application launch...

I should mention that GTK+ still works fine,
it's the Derelictification™ that has issues.
Using regular "bindings" / import modules such
as the gtk2 ones from BCD works out of the box:

http://www.algonet.se/~afb/d/bcd-gtk2-mac.png
http://www.dsource.org/projects/bcd/browser/trunk/bindings/test/gtk2.d

Something gets it wrong in the function pointers
or class wrappers, but no idea where it happens.

Reason: KERN_INVALID_ADDRESS at address: 0x400009cd
0x000b9cbb in g_option_group_set_error_hook ()
(gdb) bt
#0  0x000b9cbb in g_option_group_set_error_hook ()
#1  0x020ee309 in gtk_parse_args (argc=0xbffff40c, argv=0xbffff408) at 
gtkmain.c:871
#2  0x020ee3c0 in gtk_init_check (argc=0xbffff40c, argv=0xbffff408) at 
gtkmain.c:912
#3  0x020ee3f3 in gtk_init (argc=0xbffff40c, argv=0xbffff408) at 
gtkmain.c:950

So I think I will stick with the "Bindings",
just like I do for SDL and OpenGL already...

--anders


More information about the Digitalmars-d-announce mailing list