I am triyng to programming with gtk over DragonFly. My sample code is the follows:
#include <gtk/gtk.h> int main(int argc, char* argv[]) { GtkWidget *window: gtk_init(&argc, &argv); window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_widget_show(window); gtk_main(); return 0; } The gcc output is: #gcc prova.c -o prova 1:21: error: GtkWidget undeclared 5: error: window undeclared 9: GTK_WINDOW_TOP_LEVEL undeclared #find / -name gtk.h /usr/pkg/include/gtk-2.0/gtk/gtk.h /usr/pkg/include/gtk-1.2/gtk/gtk.h I mistake in including library? What is the problem? Regards, savio -- only the paranoid will survive