Date: Fri, 10 Dec 2004 20:02:25 +0100 From: Miguel Mendez <flynn@energyhq.es.eu.org> To: Frank Staals <f.staals@zonnet.nl> Cc: questions@freebsd.org Subject: Re: Graphical C programming with GTK 2.0 Message-ID: <20041210200225.11b11046.flynn@energyhq.es.eu.org> In-Reply-To: <41B9FD78.4060005@zonnet.nl> References: <41B9FD78.4060005@zonnet.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Fri__10_Dec_2004_20_02_25_+0100_zhW.XHM8PGMHNgDQ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Fri, 10 Dec 2004 19:48:08 +0000 Frank Staals <f.staals@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@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) --Signature=_Fri__10_Dec_2004_20_02_25_+0100_zhW.XHM8PGMHNgDQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBufLDnLctrNyFFPERAhOwAKCXImb7CaJM1YnbW2snBEhyFpoMogCglztM m/s6u00qDbk4BIe7HXHrcBo= =Nmg+ -----END PGP SIGNATURE----- --Signature=_Fri__10_Dec_2004_20_02_25_+0100_zhW.XHM8PGMHNgDQ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041210200225.11b11046.flynn>