g++ cannot find the header file (iostream.h)

g++ cannot find the header file (iostream.h)

Post by Rong Zhen » Sun, 26 May 1996 04:00:00



Hi all,
        After I installed slackware 3.0 from CD, I tried to compile some
c++ programs.  But I got wried error message like,
          iostream.h: No such file or directory
Do someone know what is wrong with my comfiguration?  By the way, under
/usr/lib I have directory called g++-include.  In that directory, I can
find iostream.h..

Thanks for help me out..

Rong Zheng

======================

 
 
 

g++ cannot find the header file (iostream.h)

Post by Troy Wil » Mon, 27 May 1996 04:00:00


Do you have Slackware?  I have cut and pasted a simple fix from
InfoMagic's Web site
<www.infomagic.com/support/linux/ldr/ldr_nov95_slack.html>
****************************************************************
     The problem is /usr/include/g++-include is mis-named. To correct
the problem, do the following:

         # rm /usr/include/g++-include
         # ln -sf /usr/lib/g++-include /usr/include/g++

     This will allow the g++ compiler to find the header files.

*****************************************************************
Slackware seems to be full of these kinds of bugs--that's why I have
switched to RedHat.

Troy

 
 
 

g++ cannot find the header file (iostream.h)

Post by Blaise R. Ca » Mon, 27 May 1996 04:00:00


:         iostream.h: No such file or directory
: Do someone know what is wrong with my comfiguration?  By the way, under
: /usr/lib I have directory called g++-include.  In that directory, I can
: find iostream.h..

Either rename the g++-include directory to just g++, or create a symbolic
link called g++, pointing to g++-include.  That should fix it.

-B

------------------------------------------------------------------------

 
 
 

1. Help - cannot find C header files

Hi,

I am missing a bunch of header files for linux such as limits.h,
versions.h, errno.h etc..  I am wondering where i can find them in
Slakware Linux version 3.0 (from infomagic's nov. 95 cd).   They are
supposed to be in /usr/include/linux that is softlinked to
/usr/src/linux/include/linux.  I have installed Slakware Linux verion
3.0 (from infomagic's nov '95 cd) on a pentium pc.  I installed the
program development disk and when i tried to compile an application
written in C which used the header file /usr/include/limits.h it was
looking for linux/limits.h.  linux, under /usr/include, as mentioned
earlier, is soft linked to /usr/src/linux/include/linux.  But no such
file exists.  This is also happening with linux/versions.h (included
in /usr/include/versions.h) with errno.h, with sys/types.h etc.

Any help will be much appreciated.

Thankyou,

--
----
Jayanta K. Dey

Department of Computer Science                    Fax:   413-545-1249
University of Massachusetts, Amherst, MA 01003    Voice: 413-545-3179

2. increasing cu throughput

3. kernel

4. location of iostream header file

5. Unix Commands

6. cannot Find iostream.h?

7. ESDI Hard Drive setup?

8. cannot find iostream.h?

9. glibc header files or kernel header files?

10. chkshlib error: Cannot find .lib section (header)

11. c++ iostream.h header

12. find without the "find: cannot read dir /usr/lost+found: Permission denied"