delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/27/20:15:31

From: "Michael Stewart" <mike AT reggin DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
References: <8golug$gbc$1 AT gxsn DOT com>
Subject: Re: Compile Error
Lines: 19
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Original-NNTP-Posting-Host: 212.188.150.76
Message-ID: <393062d3@news.server.worldonline.co.uk>
Date: Sun, 28 May 2000 01:07:59 +0100
NNTP-Posting-Host: 212.49.224.15
X-Trace: server12-lon1.london1.l3.net 959472340 212.49.224.15 (Sun, 28 May 2000 01:05:40 BST)
NNTP-Posting-Date: Sun, 28 May 2000 01:05:40 BST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Chris C <chris AT conn DOT freeserve DOT co DOT uk> wrote in message
news:8golug$gbc$1 AT gxsn 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.

This is a common error and it is in the FAQ. Please read it.


- Raw text -


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