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

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

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]