Hi, I'm trying to get a "hello world" going to call a C function from
glib. I'm having problems compiling, what would the correct command line options?
% dmd -I/usr/include/glib-2.0 hello.d -L-L/usr/local/lib -L-lglib-2.0
hello.d(3): Error: undefined identifier GDateTime
hello.d(3): Error: undefined identifier GTimeZone
% cat hello.d
import std.stdio;
extern(C) GDateTime *g_date_time_new_now (GTimeZone *tz);
void main() {
writeln("Hello, world");
GDateTime *gdt;
}
Thanks for any help, Sonia.