Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » c/c++ indexer problem: Preprocessor inclusion not found:iostream
c/c++ indexer problem: Preprocessor inclusion not found:iostream [message #158124] Wed, 16 November 2005 10:09
Eclipse UserFriend
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
Previous Topic:CDT complains about wrong / missing includes
Next Topic:Undefined Reference, Add Include error?
Goto Forum:
  


Current Time: Sun Jun 01 13:53:24 EDT 2025

Powered by FUDForum. Page generated in 0.24405 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top