Author Topic: include Files not found  (Read 4279 times)

Offline noname|

  • Single posting newcomer
  • *
  • Posts: 4
include Files not found
« on: May 17, 2008, 01:30:12 am »
Hello,

I've installed Code::Blocks 8.02 on Ubuntu 8.04.
The GNU Compiler works fine,
but when I want to follow the include files by clicking on the entry, the program shows e.g. "iostream: Not Found"
Why? Do I forgot to set some configuration or something like that?

Thanks a lot!

noname|

portrayer

  • Guest
Re: include Files not found
« Reply #1 on: June 17, 2008, 03:49:11 pm »
I have the same problem..

Offline McZim

  • Multiple posting newcomer
  • *
  • Posts: 36
Re: include Files not found
« Reply #2 on: June 17, 2008, 09:19:06 pm »
how you included file?

#include <iostream.h> -- this no right
#include <iostream> - this is right

portrayer

  • Guest
Re: include Files not found
« Reply #3 on: June 18, 2008, 05:31:43 am »
of course I write #include <iostream>

Offline McZim

  • Multiple posting newcomer
  • *
  • Posts: 36
Re: include Files not found
« Reply #4 on: June 18, 2008, 08:33:29 am »
you compile with gcc or g++?

Offline McZim

  • Multiple posting newcomer
  • *
  • Posts: 36
Re: include Files not found
« Reply #5 on: June 18, 2008, 08:38:57 am »
may be you not install IOstream Library?

mc83

  • Guest
Re: include Files not found
« Reply #6 on: June 18, 2008, 08:13:08 pm »
hi guys...

I'm having the same issue here... i just installed C::B 8.02 (the mingw one) and I can't even compile the default "Hello World" program... i get iostream: no such file or directory
Funny thing is... when I right click #include <iostream> in the edit window and select Open #include file: <iostream> it opens it up, so not having installed the library is out of the question.

Does anyone know how to fix this?


Can I just add that I'm only starting out with C++, so try your best not to confuse me, please :))


Many thanks!


Edit:
Solved it
all i had to do was reboot after installing C::B
« Last Edit: June 18, 2008, 08:46:45 pm by mc83 »