delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/27/12:42:40

From: "Chris C" <chris AT conn DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Compile Error
Date: Sat, 27 May 2000 15:29:00 +0100
Organization: GXSN
Lines: 12
Message-ID: <8golug$gbc$1@gxsn.com>
NNTP-Posting-Host: 195.147.171.238
X-Trace: 959437584 1NNUCNF1GABEEC393C gxsn.com
X-Complaints-To: abuse AT gxsn DOT com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Whenever I try to compile a C++ program by typing "gpp -o name.exe name.cpp"
it comes up with the error "C:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No
such file or directory (ENOENT)".

I checked for the files iostream.h and streambuf.h and they were both there.

My only guess at why this is happening is that it's using forward slashes
instead of backword ones (ie C:/ instead of C:\).

I have Windows 98 and DJGPP version 2.03.


- Raw text -


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