Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs Date: Wed, 24 Jan 2001 22:33:42 -0600 (CST) From: Mumit Khan To: Chris Antcliff cc: cygwin AT cygwin DOT com Subject: Re: DLL version 1.1.7: Problems with iostream.h In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 25 Jan 2001, Chris Antcliff wrote: > Running windows 2000 final build no services packs, when trying to compile a > simple hello world program > > #include > > int main() > { > cout <<"Hello, World!"; > return 0; > } > > > the error I get when doing "gcc hello.c" is > > In file included from hello.c:1: > /usr/include/iostream.h:31 streambuf.h: no such file or directory This is because your installation is broken. The G++ include files such as iostream.h and streambuf.h etc should *never* be in /usr/include, but rather get installed in /usr/include/g++-3 by default (at least for gcc that's distributed with Cygwin 1.1.7). I don't know how you managed this, but you'll have to *remove* all offending files from /usr/include and reinstall gcc. Regards, Mumit -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple