delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/31/05:18:12

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem using C++ under WinNT4
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <es08esscm4h2jkrbd8ud4k4b10aur5b6vp@4ax.com>
References: <r93iODL1qonfFrZH3oHSaPvI1WJS AT 4ax DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
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 <james_yan_99 AT yahoo DOT com>
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 <iostream.h> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019