From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem using C++ under WinNT4 Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 32 X-Trace: /bQNubzBuh35JSZ0dUaIjOwDiXAGxvbUMEB9tOls6jaFY9QsXQeahcld6KKoYW30mmojS8vEGtqS!GrBhF1518sUS/AIMPaWifbdguz6aeVFuuayFlgMsx1GHs2ES9Q/4LVYkyhWWLsBue0KK2UCxl6HK!Jq9GSTw= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Fri, 31 Mar 2000 01:52:01 GMT Distribution: world Date: Fri, 31 Mar 2000 01:52:01 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 30 Mar 2000 12:58:09 +0800, James Yan wrote: >I can't compile c++ programs under WinNT4. Another iostream? Don't newbies Read Me Third anymore? >When I compile a program which include header >file. The following message always appears: > >c:\djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or >directory (ENOENT) Looks like you have a long filename problem. DJGPP is looking for STREAMBU.H and not finding it because you presumably used WinZip to create STREAM~1.H. Here's what you do, in three simple steps: 1. Go to http://www.cdrom.com/pub/infozip/ and get Info-ZIP unzip. 2. Use Info-ZIP unzip to reinstall DJGPP from zipfiles. 3. Try building again. >When I look at the directory, the file streambuf.h is there. That's because cmd.exe (a popular shell under NT) is a winconsole program, with full access to the Win32 long filename API. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/