Problems compiling console C++ app

Christian Couder chcouder at club-internet.fr
Mon May 15 06:07:43 BST 2000


Tim Sutton wrote:

> c++ -DHAVE_CONFIG_H -I. -I. -I..     -O0 -g3 -Wall -c main.cpp
> main.cpp:22: iostream.h: No such file or directory
> gmake: *** [main.o] Error 1
> *** failed ***
>
> The file does reside on my system under:
>
> /usr/include/g++-2/iostream.h
>
> The /usr/include/g++-2/ dir is also in my path. I believe there may be an
> environment var missing or some other problem? If any one can offer some
> guidance I would really appreciate it.

Hi!

Do you also have this file in /usr/include/g++-3/ ? (Because iostream.h is also
there on my Mandrake 7.)
And did you (or Mandrake) install the following package:
libstdc++-devel-2.95.2-3mdk ? (This package should install iostream.h in the
above directory.)

Hope this helps.
Bye,
Christian.








More information about the KDevelop mailing list