c/c++ indexer problem: Preprocessor inclusion not found:iostream [message #158124] |
Wed, 16 November 2005 10:09 |
Eclipse User |
|
|
|
Hi,
I'm new to eclipse/cdt and have just setup eclipse-3.1.1 with CDT 3.0.1 on
Gentoo/Linux.
I need some help setting up the includes path:
######## begin code
using namespace std;
#include <iostream>
#define HELLO_WORLD "Hello world!"
int main()
{
cout << HELLO_WORLD;
}
######### end code
I just made this simple hello world programm. It compiles fine but I get the
following warning:
C/C++ Indexer Problem: Preprocessor Inclusion not found: iostream in
file: /home/ruben/projekte/eclipse/Quadrat/main.cpp on line: 2.
It is also not possible to open the iostream include from the context menu
in the outline view.
I tried managed and standard make project - same problem.
In the system the iostream.h is located
under /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/backward /iostream.h
Any sugestion how to fix this?
Regards,
Ruben
|
|
|
Powered by
FUDForum. Page generated in 0.24405 seconds