From owner-freebsd-questions@FreeBSD.ORG Wed Jul 21 05:02:44 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 093C716A4CE for ; Wed, 21 Jul 2004 05:02:44 +0000 (GMT) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id F01BB43D5A for ; Wed, 21 Jul 2004 05:02:43 +0000 (GMT) (envelope-from ctorchia87@operamail.com) Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180])B87B01800E87 for ; Wed, 21 Jul 2004 05:02:43 +0000 (GMT) X-OB-Received: from unknown (205.158.62.131) by wfilter.us4.outblaze.com; 21 Jul 2004 05:00:45 -0000 Received: by ws5-1.us4.outblaze.com (Postfix, from userid 1001) id 9DFF7398198; Wed, 21 Jul 2004 05:02:43 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [216.232.184.238] by ws5-1.us4.outblaze.com with http for ctorchia87@operamail.com; Wed, 21 Jul 2004 06:02:43 +0100 From: "Carlos Torchia" To: questions@freebsd.org Date: Wed, 21 Jul 2004 06:02:43 +0100 X-Originating-Ip: 216.232.184.238 X-Originating-Server: ws5-1.us4.outblaze.com Message-Id: <20040721050243.9DFF7398198@ws5-1.us4.outblaze.com> Subject: Compilation 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: Wed, 21 Jul 2004 05:02:44 -0000 Hi. I can't compile a program using the G2 graphics library. When I tried compiling the program the first time, cc said it didn't know that g2.h was in /usr/local/include, which I think is pretty stupid. Anyway, I put /usr/local/include and /usr/local/lib in the -I and -L parameters respectively. Then it saw the header and library files, but there were constant errors saying that there were undefined references to X11 functions within libg2.a. Also, unrelated to this I just want to know how to change the default include and library paths, and how to redirect error output from programs to files (or pipe them), because everything I need to now about Unix or FreeBSD comes from 72 hours of trying to figure out how to make a directory or something. I'm sorry, but I just can't do anything in this operating system. I mean, finally I've found a library that makes it simple to simply plot a pixel in a window without spending hours looking for a GTK tutorial that will tell me about this stupid graphics context stuff that I don't even know. And now I gotta figure out about this stupid g2 thing. Ok. Well anyway, thanks for any help you can give me. -- _____________________________________________________________ Web-based SMS services available at http://www.operamail.com. >From your mailbox to local or overseas cell phones. Powered by Outblaze