This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: iostream header missing?


I'm not sure, but I think it should be <iostream.h> not <iostream>.

On Sat, 17 Jun 2000, Gerald Marewo wrote:

> Date: Sat, 17 Jun 2000 13:31:37 +0200
> From: Gerald Marewo <gerald@aardvark.uz.ac.zw>
> Reply-To: glibc-linux@ricardo.ecn.wfu.edu
> To: GNU C <glibc-linux@ricardo.ecn.wfu.edu>
> Subject: iostream header missing?
> 
> Hi all.
> 
> Here is a simple c program I tried compiling and it failed:
> 
> 	#include <iostream>
> 	main() {
> 	  cout << "Hello, world!" << endl;
> 	  }
> 
> The output I got is follows:
> 	
> 	t.cpp:1: iostream: No such file or directory
> 
> The version of gcc I am using is:
> 
> 	Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs
> 	gcc version 2.7.2.1
> 
> on Linux S.u.S.E 5.2:
> 
> 	Linux aardvark 2.0.34 #67 Thu Jun 18 17:04:10 MEST 1998 i686 unknown
> 
> I was just wondering if anyone on the list has an idea of solving
> my problem. It all started when we tried installing octave-2.1.30.
> 
> We obtained the following output:
> 
> 	 make[2]: Entering directory `/home/j/root/octave-2.1.30/liboctave'
> 	 c++ -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -
> 	 I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -fno-rtti -fno-implicit-
> 	 templates -g -O2 -Wall Bounds.cc -o Bounds.o
> 	 Bounds.cc:31: iostream: No such file or directory
> 	 In file included from Bounds.cc:33:
> 	 Bounds.h:30: iostream: No such file or directory
> 	 make[2]: *** [Bounds.o] Error 1
> 
> That is why I had to try out the c program given above.
> 
> Any form of help will be greatly appreciated. Thanks.
> 
> -- 
> Gerald Marewo gerald@aardvark.uz.ac.zw  Macintosh Software Hints:
> MACSOFT anarchie-201.hqx fetch-303.hqx finger-150.hqx ncsa-telnet-27b4.hqx
> MACSOFT stuffit-expander-401.bin
> MACSOFT
> 

--

	"The moon could not continue shining if it had to pay attention to all the dogs barking at it." - Anonymous


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]