Date: Thu, 5 Nov 1998 09:17:53 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: First simple C++ program doesn't compile In-Reply-To: <3640ef15.0@newsfeed.uu.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id CAA31953 Reply-To: djgpp AT delorie DOT com On Thu, 5 Nov 1998, Yuwei Zhao wrote: > In file included from welcome.cc:3: > d:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory > (ENOENT) > > The streambuf.h file is actually there. I see it and I can open and edit it. > But why do I get this error message? Because you run DJGPP on NT where long file names aren't supported, and streambuf.h exceeds the DOS 8+3 limits for file names. Most probably, you have unzipped DJGPP with something like WinZip which preserves the long file names in DJGPP zip files. To get it working, delete the entire DJGPP tree, then re-install it, this time using a DOS unzip program. One such program is unzip386.exe which should be available from the same place you downloaded DJGPP. Whenever you have problems with DJGPP claiming it doesn't find files that seem to be in place, use the "DIR /X" command. It shows the short 8+3 aliases for all the long file names, and it is those file names which DJGPP programs see. I bet in your case, there's something like STREAM~1.H. > Please help! I´m going to get crazy about this. Please send an email to me > too. I suggest to download the FAQ, v2/faq211b.zip, and look there for solutions to any problems you might have. Many common calamities are already solved there. For example, this problem is covered in section 8.2 of the FAQ.