[ubuntu-uk] GTK and C

Andrew Price andy at andrewprice.me.uk
Wed Nov 15 16:54:59 GMT 2006


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




More information about the ubuntu-uk mailing list