From: Allens Newsgroups: comp.os.msdos.djgpp Subject: Re: Please Help: Strange iostream error Date: Sat, 01 Aug 1998 21:40:28 +0100 Organization: Cable Online Lines: 26 Message-ID: <35C37D3C.34AF@cableol.co.uk> References: <35c2868e DOT 17977546 AT news DOT intercom DOT net> NNTP-Posting-Host: 194.168.181.25 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jeremy Ford wrote: > > When I try to compile a simple program in DJGPP I get the following > error: > > c:\djgpp\lang\cxx\iostream.h(31) > Error: streambuf.h : No such file or directory. (ENOENT) > > The program is a C++ program with a .cc extension. The program > compiles fine under MVC++ 4.0...also I checked and the file > streambuf.h does appear in c:\djgpp\lang\cxx.... > > Does anybody know why I get this error and how I can fix it. I really > need to get this working! > > Any help would be appreciated! > Thank You > Jeremy Ford > > p.s. I have installed the correct files for C++ programming You need to "SET LFN=Y" in dos (autoexec.bat file), or unwisely modify your DJGPP.ENV file to change LFN=N to LFN=Y. This is long filenames by the way. Peter Allen