Compilation

Carlos Torchia ctorchia87 at operamail.com
Tue Jul 20 22:02:44 PDT 2004


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


More information about the freebsd-questions mailing list