[Glade-users] how to include gtk file for application.?

Damon Chaplin damon at karuna.uklinux.net
Wed Aug 23 07:14:49 EDT 2006


On Wed, 2006-08-23 at 16:02 +0530, sameer tandra wrote:

> when compilingthe program with the following statement 
>  
> gcc base.c -o base 'pkg-config --cflags --libs gtk+-2.0'
> i am getting an error
>  
> unable to include directory 'gtk/gtk.h' .

What does "pkg-config --cflags --libs gtk+-2.0" output?

Look for the GTK+ directory that it outputs (normally
"-I/usr/include/gtk-2.0") and check that the GTK+ headers are actually
there.

(I suspect you don't have headers installed and need to install the
gtk2-devel package).

Damon




More information about the Glade-users mailing list