From: "NCR" Subject: Re: ENOENT Error References: <35042700 DOT D0D7782B AT wmich DOT edu> Organization: NCR Message-ID: <01bd4be1$13c2cbe0$ad887fc0@tanes> Newsgroups: comp.os.msdos.djgpp Date: Mon, 09 Mar 1998 23:44:57 -0500 Lines: 22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Sample in a Jar 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