import gtk.Application;
int main(string[] args) {
Application app = new Application("org.remote.Remote", GApplicationFlags.FLAGS_NONE);
return app.run(args);
}
It works when compiled with ldc:
$ ldc -I/usr/include/d/gtkd-3 -L-lgtkd-3 main.d
$ ./main
(main:192195): GLib-GIO-WARNING **: 18:50:42.567: Your application does not implement g_application_activate() and has no handlers connected to the 'activate' signal. It should do one of these.
Testing with this small program:
It works when compiled with ldc:
But when compiled with gdc, it no longer works:
Is it just missing some compiler/linker flags, or is there more to it?