What is installed ( and working )
gtk-1.2.10_17 Gimp Toolkit for X11 GUI (previous stable version)
gtk-2.10.6_2 Gimp Toolkit for X11 GUI (current stable version)
gtk-engines2-2.8.1 Theme engine for the gtk+-2.0 toolkit
gtkglarea-1.2.3_1 An OpenGL widget for the GTK+ GUI toolkit
libgtk-java-2.8.5 Java wrapper for Gtk+, Pango, Atk, and Glib
libgtkhtml-2.11.0_1 Lightweight HTML rendering/printing/editing engine
linux-gtk2-2.6.10 GTK+ library, version 2.X, Linux binary
py-gtk-0.6.11_2 A set of Python bindings for GTK
wxgtk2-2.6.3 The wxWidgets GUI toolkit with GTK+ bindings
wxgtk2-common-2.6.3 The wxWidgets GUI toolkit (common files)
wxgtk2-contrib-2.6.3 The wxWidgets GUI toolkit contributed libraries
wxgtk2-contrib-common-2.6.3 The wxWidgets GUI toolkit contributed libraries (common fil
/* base.c from the gtk tutorial url http://www.gtk.org/tutorial/c39.html */
#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;
}
#######################################################################################
gcc base.c -o base 'pkg-config --cflags --libs gtk+2.0'
gcc: pkg-config --cflags --libs gtk+2.0: No such file or directory
base.c:1:21: gtk/gtk.h: No such file or directory
base.c: In function `main':
base.c:6: error: `GtkWidget' undeclared (first use in this function)
base.c:6: error: (Each undeclared identifier is reported only once
base.c:6: error: for each function it appears in.)
base.c:6: error: `window' undeclared (first use in this function)
base.c:10: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
base.c:16:2: warning: no newline at end of file