[ubuntu-uk] GTK and C

Greg Dash greg.dash1 at gmail.com
Wed Nov 15 17:10:14 GMT 2006


I already have pkg-config installed, could it be a config problem?

On 15/11/06, Andrew Price <andy at andrewprice.me.uk> wrote:
>
> On 15/11/06 15:24, Greg Dash wrote:
> > gcc `gtk-config --cflags`  -Wimplicit "gtk2.c" -lgtk` gtk-config
> > --libs` -o "gtk2"
>
> gtk-config is provided in libgtk1.2-dev but you want to use
> libgtk2.0-dev, which provides .pc files for pkg-config to use. Hence you
> probably need to use pkg-config instead of gtk-config.
>
> --
> Andy Price
> http://andrewprice.me.uk
>
>
> --
> ubuntu-uk at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.kubuntu.org/UKTeam/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20061115/9a4abdcc/attachment.htm 


More information about the ubuntu-uk mailing list