Ardoramor
February 27th, 2007, 05:56 AM
Hello everybody!
I have Ubuntu running on vmplayer (waiting for my new laptop to double boot there). I'm pretty new to linux environment but have been programming before and know some way around ubuntu (but definatly little). I have downloaded Glade-3 Glade-Gnome-3 and other libraries like libglade-2.0 and gtk-2.0 and have all the compilers. Oh and I got -dev for glade too.
I designed a simple entry & button window just to test out how glade-3 runs. I saved it to a directory and got a little main.c with example code from a website but it opens the glade file and everything seems to be nice. In main.c I include <gtk/gtk.h> and <glade/glade.h>
I compile with gcc -o main main.c `libglade-config --cflags --libs`
Here are the errors it gives me:
bash: libglade-config: command not found
main.c:1:21: error: gtk/gtk.h: No such file or directory
main.c:2:25: error: glade/glade.h: No such file or directory
and then its program code because include files weren't found...
I dont know where to find libglade-config. I have added extra repositories. Any suggestions are much appreciated!
I have Ubuntu running on vmplayer (waiting for my new laptop to double boot there). I'm pretty new to linux environment but have been programming before and know some way around ubuntu (but definatly little). I have downloaded Glade-3 Glade-Gnome-3 and other libraries like libglade-2.0 and gtk-2.0 and have all the compilers. Oh and I got -dev for glade too.
I designed a simple entry & button window just to test out how glade-3 runs. I saved it to a directory and got a little main.c with example code from a website but it opens the glade file and everything seems to be nice. In main.c I include <gtk/gtk.h> and <glade/glade.h>
I compile with gcc -o main main.c `libglade-config --cflags --libs`
Here are the errors it gives me:
bash: libglade-config: command not found
main.c:1:21: error: gtk/gtk.h: No such file or directory
main.c:2:25: error: glade/glade.h: No such file or directory
and then its program code because include files weren't found...
I dont know where to find libglade-config. I have added extra repositories. Any suggestions are much appreciated!