www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/01/13:06:54

Message-Id: <35EC29F3.12C1@cableol.co.uk>
Date: Tue, 01 Sep 1998 18:08:03 +0100
From: Allens <allen DOT asjp AT cableol DOT co DOT uk>
Mime-Version: 1.0
To: Anders Christensen <andersch AT post4 DOT tele DOT dk>
Cc: djgpp AT delorie DOT com
Subject: Re: DJGPP and the streambuf.h
References: <6sf057$1om6$1 AT news-inn DOT inet DOT tele DOT dk>

Anders Christensen wrote:
> 
> Hi all
> I just started on C++ and is planning to use the DJGPP development kit.
> However, I get a very strange error when compiling even small C++ programs.
> For example, when I compile the following .cpp file with GCC with the
> parameters... gcc test1.cpp -o result1.exe ...
> 
> -------------------------------------------------
> #include <iostream.h>
> 
> void main() {
>     cout << "Hello world!\n";
> }
> -------------------------------------------------
> 
> ... I get this error:
> 
> e:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory
> (ENOENT)
> 
> I figure that the problem is the reference from the iostream.h header file
> but the streambuf.h IS present in the same archive. And yes: I have made the
> corrections in my autoexec.bat! If anyone has experienced this problem then
> suggestions are VERY welcome!
> 
> If it's possible also to my e-mail account: _NOSPAM_andersch AT post4 DOT tele DOT dk -
> please remove _NOSPAM_ from the address or just reply in this conference.
> 
> Best Regards
> Anders Christensen

Put 'SET lfn=y' in your autoexec.bat file, and read the documentation 
for your next problem.....

		Peter Allen

- Raw text -


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