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

Olivier Rolland billl at users.sf.net
Wed Aug 23 07:45:11 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' .

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

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


More information about the Glade-users mailing list