Re: Doubts about gtk 2.0

Paulo Ricardo Batista Mesquita <pmesquita atech br> writes:

> and I tried to compile this using 
> gcc -g -s testeGTK.c -o testeGTK 'pkg-config --cflags --libs gtk+-2.0'.

The quotes around the pkg-config bit are wrong. It has to be:

        `pkg-config --cflags --libs gtk+-2.0`


        'pkg-config --cflags --libs gtk+-2.0'

On unix putting things into `-quotes (backpings) means "execute this
command and put its output here".

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