| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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 <khan AT NanoTech DOT Wisc DOT EDU> |
| To: | Chris Antcliff <aguarious2 AT hotmail DOT com> |
| cc: | cygwin AT cygwin DOT com |
| Subject: | Re: DLL version 1.1.7: Problems with iostream.h |
| In-Reply-To: | <F174oRKbpG1KiaexdDA00002764@hotmail.com> |
| Message-ID: | <Pine.HPP.3.96.1010124223201.12201D-100000@hp2.xraylith.wisc.edu> |
| MIME-Version: | 1.0 |
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 <iostream.h>
>
> 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |