[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' .

You should use back quotes instead of quotes. That is:

$ gcc base.c -o base `pkg-config --cflags --libs gtk+-2.0`

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