Date: Wed, 21 Jul 2004 06:02:43 +0100 From: "Carlos Torchia" <ctorchia87@operamail.com> To: questions@freebsd.org Subject: Compilation Message-ID: <20040721050243.9DFF7398198@ws5-1.us4.outblaze.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040721050243.9DFF7398198>