Mail Archives: djgpp/1998/03/11/22:02:12
Sample in a Jar <Spamalope DOT zera AT wmich DOT edu> wrote in article
<35042700 DOT D0D7782B AT wmich DOT edu>...
> I believe that I set up DJGPP on my system correctly, yet when I
> compile, the compiler give me this error.
>
> test.cc(1) Error: iostream.h: No such file or directory (ENOENT)
>
> What do I do?... I've tried everything that my CPP instructor says to
> do, and that didn't help. I need this working soon or else my cpp grade
> goes in the crapper...
>
> bryanZera
>
>
Did you set DJGPP=[path]djgpp.env (e.g. DJGPP=f:\djgpp\djgpp.env)?
If yes, take a look in DJGPP.ENV file, on topic cpp ([cpp]) and you should
set
CPLUS_INCLUDE_PATH=%DJDIR%/lang/cxx;%DJDIR%lang/cxx/include;%DJDIR%/include;
(suppose that your C++ include files are located in [DJDIR]\lang\cxx, e.g.
F:\djgpp\lang\cxx).
Tanes Sriviroolchai
- Raw text -