From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 17 13:43:44 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E59C16A412 for ; Sun, 17 Dec 2006 13:43:44 +0000 (UTC) (envelope-from flz@xbsd.org) Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7C1943C9E for ; Sun, 17 Dec 2006 13:43:42 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp7-g19.free.fr (Postfix) with ESMTP id E1CA952FD; Sun, 17 Dec 2006 14:43:41 +0100 (CET) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 59DFA11974; Sun, 17 Dec 2006 14:43:41 +0100 (CET) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p3jsQvp2BlAL; Sun, 17 Dec 2006 14:43:33 +0100 (CET) Received: from [193.120.13.131] (amnesia.xbsd.org [193.120.13.131]) by smtp.xbsd.org (Postfix) with ESMTP id 19FA6117E7; Sun, 17 Dec 2006 14:43:32 +0100 (CET) Message-ID: <4585497B.6060502@xbsd.org> Date: Sun, 17 Dec 2006 13:43:23 +0000 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: Henry Lenzi References: <8b4c81f0612161943g2cef8374p91445780389e7f88@mail.gmail.com> In-Reply-To: <8b4c81f0612161943g2cef8374p91445780389e7f88@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig16BD1B5420D2372BC8216AF8" Cc: freebsd-hackers@freebsd.org Subject: Re: Newbie request - compiling with Xlib.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2006 13:43:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig16BD1B5420D2372BC8216AF8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Henry Lenzi wrote: > Hi * >=20 > I'm trying to follow the following tutorial for Xlib prpogramming: >=20 > http://users.actcom.co.il/~choo/lupg/tutorials/xlib-programming/xlib-pr= ogramming.html#preface >=20 >=20 > However, I can't seem to compile the simple-drawing.c example. I keep > getting >=20 >=20 >> cc simple-drawing.c -o simple-drawing -L/usr/X11/lib -lX11 > simple-drawing.c:7:22: X11/Xlib.h: No such file or directory >=20 > or >=20 >> cc simple-drawing.c -o simple-drawing -lX11 > simple-drawing.c:7:22: X11/Xlib.h: No such file or directory >=20 > What's the right incantation for this? XCB is the new way to go: http://xcb.freedesktop.org/wiki/ Cheers. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enig16BD1B5420D2372BC8216AF8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFhUmDMxEkbVFH3PQRAvBIAJ9ow0po3EjP3lswfe91ZQ/bmK5XZQCfa1FW I0SNeseeOEuiKg7UvJNzn44= =Olsy -----END PGP SIGNATURE----- --------------enig16BD1B5420D2372BC8216AF8--