delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/09/13:11:22

From: Steve & Rosemary Tottosy <stottosy AT wco DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Error compiling C++ programs
Date: Tue, 09 Mar 1999 10:17:18 -0800
Organization: Verio Northern California's Usenet News Service
Lines: 43
Message-ID: <36E565AE.BC0C4D00@wco.com>
References: <Pine DOT SV4 DOT 3 DOT 93 DOT 990209090311 DOT 27048B-100000 AT tagore> <36C052E3 DOT 27B23F50 AT xyz DOT net>
NNTP-Posting-Host: as56-165.okldca.pacific.verio.net
Mime-Version: 1.0
X-Mailer: Mozilla 4.5 [en] (Win98; U)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Try this if your using Win 95 or 98:
    Edit the autoexec.bat to include this line
        LFN=yes
This worked for me.

Steve T.


Bjorn Hansen wrote:

> ok so if I change streambuf.h to streambu.h it finds it but there are also
> other files with 9 character names.   There must be a better way to fix this
> than to truncate all of the header files to 8 characters or they would not be
> distributed this way.
>
> "Raju K.V" wrote:
>
> > this must be because dos considers only the first 8 chars  a valid file
> > name. so look in ur d:/cstuff/compiler/lang/cxx/streambu.h.
> >
> > On Mon, 8 Feb 1999, Bjorn Hansen wrote:
> >
> > > When I try to compile this code:
> > > #include <iostream.h>
> > >
> > > Main
> > > {
> > > cout<<"hey hey/n";
> > > }
> > >
> > > I get the following errors:
> > > hello.cpp(1) In file included from hello.cpp:1:
> > > d:/cstuff/compiler/lang/cxx/iostream.h(31) Error: streambuf.h: No such
> > > file or directory (ENOENT)
> > >
> > > I checked in that directory and the streambuf.h header file is there.  I
> > > would like to know what I need to do to fix this.
> > >
> > > Bjørn
> > >
> > >
> > >

- Raw text -


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