Graphical C programming with GTK 2.0
Miguel Mendez
flynn at energyhq.es.eu.org
Fri Dec 10 11:02:41 PST 2004
On Fri, 10 Dec 2004 19:48:08 +0000
Frank Staals <f.staals at zonnet.nl> wrote:
> I would like to build graphical C programs, therefor I wanted to use
> GTK. I tried to build the first program in the GTK Tutorial:
> http://www.gtk.org/tutorial/ch-gettingstarted.html and I tried to
> compile it as it was explained there: gcc mainwindow.c -o mainwindow
> `pkg-config --cflags --libs gtk+-2.0` I couldn't compile it because
> of
Looking at the log it seems like you didn't use backquotes, so the shell
didn't expand the pkg-config command. Note that ' and ` have different
meanings.
Once you get past that I'd recommend you looking at libglade2, which is
almost essential as soon as you start writing programs with non-trivial
GUIs.
Cheers,
--
Miguel Mendez <flynn at energyhq.es.eu.org> | lea gfx_lib(pc),a1
http://www.energyhq.es.eu.org | moveq #0,d0
PGP Key: 0xDC8514F1 | move.l 4.w,a6
Note: All HTML mail goes to /dev/null | jsr -552(a6)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041210/67089372/attachment.bin
More information about the freebsd-questions
mailing list