Re: How to compile examples against gtk-1.3.7



Sandy Xu <sandyfox sina com> writes:
>   I'm a new gtk+ user and this is a simple question. I just don't know
> how to compile my examples against the gtk+2.0(actually 1.3.7 in my
> RH7.1 box). I use gtk-config --cflags and --libs, but it produces still
> gtk+1.2 things. How can I do? Is it something related with the --prefix
> options?    
>   Sorry to bother you. Obviously this is a duplicate question. But I can
> not find it in the archives. Please cc me(I'm not on this list).

Use "pkg-config --clfags --libs gtk+-2.0" instead of gtk-config.

Havoc




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