Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 1998 14:47:09 -0800
From:      "Michael J. Ruhl" <mruhl@cisco.com>
To:        "Alain G. Fabry" <fabry@panam.edu>
Cc:        VEGA <vega@d132-h017.rh.rit.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: iostream.h header file not found
Message-ID:  <36534E6D.54CF5DBB@cisco.com>
References:  <00c201be1344$f44e5230$5531d5c6@earth.coserve.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Alain G. Fabry" wrote:
> 
> Thanks,
> That helped.
> 
> But now i have a different/similar problem
> I compiled my stupid program and it returned
> /usr/include/g++/iostream.h:31: streambuf.h : No such file or directory
> 
> All the files in the /usr/include/g++ have #include <whatever.h>
> they all refer to each other.
> Do I have to change all of these to their respective directory.
> I hope there is some other solution.
> Thanks,

Please note, any file in the /usr/include/g++ directory should
not be included unless you are using C++.  It is not for C.

If you are using C++, and you are not able to include this file,
instead of doing

#include </usr/include/g++>

do this:

% g++ -I/usr/include/g++ <file to compile>

Mike

-------------------------------------------------------------- 
Michael J. Ruhl                                mruhl@cisco.com 
Cisco Systems                                  Tall Blond Guy
Buckaroo.Banzai@Yoyodyne.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36534E6D.54CF5DBB>