Re: Compiling GTK code examples
On Sun, Feb 12, 2006 at 08:35:15PM +0100, Andrea Vettorello wrote:
> On 2/12/06, Jose Rogado <jrogado@netcabo.pt> wrote:
> > I just can't manage to compile them, although I think I have installed
> > everything that seems to be available on the Debian distribution to
> > suport GTK.
> >
> > For instance, when I do:
> >
> > gcc -Wall -g text.c -o text `gtk-config --cflags` `gtk-config --libs`
> >
> gtk-config belongs to the libgtk1.2-dev package...
If you really want to use gtk-2.0 instead, then substitute gtk-config
with 'pkg-config gtk+-2.0 --cflags' etc.
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
Reply to: