mitchy_g
November 5th, 2005, 05:15 AM
Hi!
Im new to ubuntu and still getting used to the filesystem. I have installed Anjuta, g++, build essentials and the GTK libs, and I am trying to compile the traditional bit of code for gui beginners:
(note: im using g++)
#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 error is:
....gtk/gtk.h No Such File or Directory
My simple question is how can i fix this error in Anjuta? When i create the project I am selecting the GTK2.0 project template.
Secondly where are all the libs stored on a normal ubuntu machine that are used when compiling a peice of code?
Thanks
Mitch :)
Im new to ubuntu and still getting used to the filesystem. I have installed Anjuta, g++, build essentials and the GTK libs, and I am trying to compile the traditional bit of code for gui beginners:
(note: im using g++)
#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 error is:
....gtk/gtk.h No Such File or Directory
My simple question is how can i fix this error in Anjuta? When i create the project I am selecting the GTK2.0 project template.
Secondly where are all the libs stored on a normal ubuntu machine that are used when compiling a peice of code?
Thanks
Mitch :)