Re: Help with installation library gtk in ubuntu



7 dec 2007 kl. 04.15 skrev Moises:

Hi,

but I have next error:

gcc 'pkg-config --cflags --libs gtk+-2.0' main.c -o
main.out
>

gcc: pkg-config --cflags --libs gtk+-2.0: No such file
or directory
main.c:3:21: error: gtk/gtk.h: No such file or
directory

The error message you get is that it doesn't evaluate the pkg-config command correctly.

Use gcc `pkg-config --cflags...` main.c ...

Ie. ` rather than ' in your command line.

Good luck,
  Mikael Hallendal

--
Imendio AB, http://www.imendio.com





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