From owner-freebsd-questions@FreeBSD.ORG Fri Dec 10 19:02:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACBF116A4CE for ; Fri, 10 Dec 2004 19:02:41 +0000 (GMT) Received: from mindfields.energyhq.es.eu.org (73.Red-213-97-200.pooles.rima-tde.net [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11B9143D31 for ; Fri, 10 Dec 2004 19:02:40 +0000 (GMT) (envelope-from flynn@energyhq.es.eu.org) Received: from scienide.energyhq.es.eu.org (scienide.energyhq.es.eu.org [192.168.100.1]) by mindfields.energyhq.es.eu.org (Postfix) with SMTP id 9C9D8362F8; Fri, 10 Dec 2004 20:02:37 +0100 (CET) Date: Fri, 10 Dec 2004 20:02:25 +0100 From: Miguel Mendez To: Frank Staals Message-Id: <20041210200225.11b11046.flynn@energyhq.es.eu.org> In-Reply-To: <41B9FD78.4060005@zonnet.nl> References: <41B9FD78.4060005@zonnet.nl> X-Mailer: Sylpheed version 0.9.99-gtk2-20041024 (GTK+ 2.4.13; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Fri__10_Dec_2004_20_02_25_+0100_zhW.XHM8PGMHNgDQ" cc: questions@freebsd.org Subject: Re: Graphical C programming with GTK 2.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 19:02:41 -0000 --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 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 | 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--