Re: compiling problem of gtkpixbuf



Hi,

"yangxiaoli" <yanggolf yeah net> writes:

> 	From tutorial I get a program about pixbuf.When I compiled it
> using command: gcc pixbuf.c -o pixbuf 'pkg-config gtk+-2.0 --cfalgs
> --libs'

There are two problems with your command. First, it should be
--cflags, not --cfalgs. Then, you need to use backticks, not apostrophes:

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


Sven



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