Hello. I was unsure as to where to send this request for advice. I
considered a OS X - Unix list, but decided that the members of this list
may have more porting experience.
A professor at my university made a simple c++ class to enable students
to plot and graph the results of their programs to the screen under
XFree86 on Linux. I am having trouble getting the thing to compile.
The Makefile's compilation command is: (i added spaces for clarity)
g++ -o ejemplo ejemplo.cc ventana.cc
-L/usr/X11R6/lib/ -lX11 -lm
Needless to say, I have fink installed, and XFree86 and XDarwin and so
on and so on. I know that most compilation errors are caused by a PATH
variable not being set, so here is my PATH (spaces added for clarity):
/sw/bin : /sw/sbin :
/Users/durandal/bin/powerpc-apple-darwin :
/Users/durandal/bin : /usr/local/bin :
/usr/bin : /bin : /usr/local/sbin :
/usr/sbin : /sbin :
/usr/local/teTeX/bin/powerpc-apple-darwin-current :
/usr/X11R6/bin
This is the compiler output:
[shale:~/Prog/xwin/xwindow_0.2] durandal% make
g++ -o ejemplo ejemplo.cc ventana.cc -L/usr/X11R6/lib/ -lX11 -lm
In file included from ejemplo.cc:3:
ventana.h:6: stream.h: No such file or directory
In file included from ventana.h:13,
from ejemplo.cc:3:
/usr/X11R6/include/X11/Xlib.h:55: X11/X.h: No such file or directory
/usr/X11R6/include/X11/Xlib.h:58: X11/Xfuncproto.h: No such file or
directory
/usr/X11R6/include/X11/Xlib.h:59: X11/Xosdefs.h: No such file or
directory
In file included from ventana.h:14,
from ejemplo.cc:3:
/usr/X11R6/include/X11/Xutil.h:55: X11/Xlib.h: No such file or directory
In file included from ventana.cc:1:
ventana.h:6: stream.h: No such file or directory
In file included from ventana.h:13,
from ventana.cc:1:
/usr/X11R6/include/X11/Xlib.h:55: X11/X.h: No such file or directory
/usr/X11R6/include/X11/Xlib.h:58: X11/Xfuncproto.h: No such file or
directory
/usr/X11R6/include/X11/Xlib.h:59: X11/Xosdefs.h: No such file or
directory
In file included from ventana.h:14,
from ventana.cc:1:
/usr/X11R6/include/X11/Xutil.h:55: X11/Xlib.h: No such file or directory
make: *** [ejemplo] Error 1
I have checked and all the files that supposedly don't exist do exist.
I tried it again after typing
set path = ( /usr/X11R6/lib/ $path )
but it still didn't work.
If anyone has any suggestions, I would greatly appreciate them.
Paul
-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members!
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners