Are you able to compile a GTK+ program from the command line?
hello.c
Code:
#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;
}
Then, to compile:
Code:
gcc -o hello hello.c `pkg-config --libs --cflags gtk+-2.0`
If it doesn't work, the packages you need for GTK2 are:
Code:
sudo apt-get install build-essential libgtk2.0-dev
Obviously if you are working with GTK3, things are slightly different.
If all that works, you can concentrate on the setup of the IDE, or other packages.
Bookmarks