From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 17 03:44:00 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 2462A16A403 for ; Sun, 17 Dec 2006 03:44:00 +0000 (UTC) (envelope-from henry.lenzi@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A52343C9E for ; Sun, 17 Dec 2006 03:43:59 +0000 (GMT) (envelope-from henry.lenzi@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so1488962nfc for ; Sat, 16 Dec 2006 19:43:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=X7dUACc4GMEHIX+k5h5f/DVaXMy/xB4pODiZicdAgvI5OWvxIRNA8dnNGhOM7Eium51SbPmMDSZSyUyEbMzvKYThoFFdZEWUws+i2YHL7ZV77wN7ojU0i5vh3LkPIunND2Mhxd6cmyzUVKs/nBazHNnMcgKAn0rDgkzeRPVUA8U= Received: by 10.78.151.3 with SMTP id y3mr1867613hud.1166327037983; Sat, 16 Dec 2006 19:43:57 -0800 (PST) Received: by 10.78.172.7 with HTTP; Sat, 16 Dec 2006 19:43:57 -0800 (PST) Message-ID: <8b4c81f0612161943g2cef8374p91445780389e7f88@mail.gmail.com> Date: Sun, 17 Dec 2006 01:43:57 -0200 From: "Henry Lenzi" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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 03:44:00 -0000 Hi * I'm trying to follow the following tutorial for Xlib prpogramming: http://users.actcom.co.il/~choo/lupg/tutorials/xlib-programming/xlib-programming.html#preface However, I can't seem to compile the simple-drawing.c example. I keep getting > 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 or > cc simple-drawing.c -o simple-drawing -lX11 simple-drawing.c:7:22: X11/Xlib.h: No such file or directory What's the right incantation for this? TIA. Henry