Re: Running gtk+-1.2



Hi,

Shiraz Baig <shiraz_baig yahoo com> writes:

> I have installed on my computer, both, the gtk+-1.2
> and gtk+-2.0. I want to compile programs with
> gtk+-1.2. But I do not know how to do that?
>
> I can compile with gtk+-2.0 by using pkg-config
> --cflags --libs, but I do not know, how to compile the
> programs writting under gtk+-1.2
>
> I tried:
>    gcc -o pgm pgm.c  `pkg-config gtk+-1.2 --cflags
> --libs`

Try the above with 'gtk+' instead of gtk+-1.2.


Sven



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