delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/06/19:53:50

Message-ID: <393D8D15.CC629F6B@mc.net>
Date: Tue, 06 Jun 2000 18:45:25 -0500
From: Jerry Lemke <jklemke AT mc DOT net>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Problem Compiling
X-Spam-Rating: mail.mc.net 1.6.1 0/1000/N
Reply-To: djgpp AT delorie DOT com

I just installed ver 2.8.1 of the gcc compiler that was supplied with
with the "Sams Teach Yourself C++" book.  The operating system is
Windows 98 ver 4.10.1998

When I try to compile the first exercise, I get a message indicating:

In file included from jl0101.cpp:1:
C:\STYCPP24\DJGPP\lang/cxx/iostream.h:31: streambuf.h:  No such file or
    directory
(ENOENT)


I searched for the "streambuf.h" file and it exists in :
C:\STYCPP24\DJGPP\lang\cxx
The source code contained in the sample exercise (jl0101.cpp) is:

#include <iostream.h>

int main()
{
 cout << "Hello World!\n";
 return 0;
}

Can you help determine what is wrong?
Thanks

- Raw text -


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