Hi
I've downloaded and installed the GTK library, and the others elements needed to compile a GTK program (libiconv, gettext...). I've then tried to compile a very simple program, and here is what I was answered:
bash: gtk-config: command not found
base.c:3:21: gtk/gtk.h: No such file or directory
base.c: In function `main':
base.c:8: error: `GtkWidget' undeclared (first use in this function)
base.c:8: error: (Each undeclared identifier is reported only once
base.c:8: error: for each function it appears in.)
base.c:8: error: `window' undeclared (first use in this function)
base.c:12: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
Ordinateur-de-Quentin-Decavel:~/Desktop quentin$
The compilation command was: <x-tad-bigger>gcc base.c -o base `gtk-config --cflags --libs`
</x-tad-bigger>Does anybody have an idea ?
Thanks in advance.
Quentin Decavel
- Re: [Fink-beginners] Problems with GTK qdecavel
- Re: [Fink-beginners] Problems with GTK Martin Costabel
