twistor96
May 26th, 2009, 06:23 AM
Hi,
I want to start learning GTK however when I tried to compile the sample application on http://library.gnome.org/devel/gtk-tutorial/stable/c39.html I get
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
I compiled it with
gcc HelloWorld.c -o base `pkg-config --cflags --libs gtk+-2.0`
I guess I haven't got the gtk development files installed or something, but I can't find them anywhere in synaptic.
(Using ubuntu 9.04)
I want to start learning GTK however when I tried to compile the sample application on http://library.gnome.org/devel/gtk-tutorial/stable/c39.html I get
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
I compiled it with
gcc HelloWorld.c -o base `pkg-config --cflags --libs gtk+-2.0`
I guess I haven't got the gtk development files installed or something, but I can't find them anywhere in synaptic.
(Using ubuntu 9.04)