Can't compile GTK applications
- From: adam4444 burnie nu
- To: gtk-devel-list gnome org
- Subject: Can't compile GTK applications
- Date: Sun, 18 Mar 2007 22:43:46 +0100
I'm trying to learn GUI programming with GTK. I follow the tutorials
at the GTK website. But when I'm trying to compile a get some errors:
gcc test.c `pkg-config --cflags --libs gtk+-2.0`
In file included from /usr/include/gtk-2.0/gtk/gtkwidget.h:32,
/usr/include/gtk-2.0/gtk/gtkobject.h:85: error: expected
specifier-qualifier-list before ?GInitiallyUnowned?
/usr/include/gtk-2.0/gtk/gtkobject.h:97: error: expected
specifier-qualifier-list before ?GInitiallyUnownedClass?
Anybody got an idea of why it doesn't work?
Thanks in advance.
] [Thread Prev