Individual . . wrote: > g++ -o ejemplo ejemplo.cc ventana.cc > -L/usr/X11R6/lib/ -lX11 -lm [] > 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
The PATH variable has nothing to do with the finding of header files. Your command line needs an additional "-I/usr/X11/include" so that the X11 header files can be found. About the stream.h I am not so sure. You don't say what compiler you are using. The standard c++ from gcc-2.95.2 should find it. Does the fact that you use "g++" and not "c++" mean that you use gcc-3.1? In this case, stream.h should give you a warning about deprecated old nonstandard stuff, and you should use iostream instead. -- Martin ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
