Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse shows errors in "Hello World" Compiler does not
Eclipse shows errors in "Hello World" Compiler does not [message #1226523] Wed, 01 January 2014 20:25
Chris Albertson is currently offline Chris Albertson
Messages: 3
Registered: January 2014
Location: So. California
Junior Member
I just got the C/C++ plugins and thought to build the "Hello World" example.

I'm on Mac OS X 10.9.1

The hello world program builds clean and runs. However Eclipse says "Symbol 'std' could not be resolved" for the following statement. It has "std" underlined in red.
using namespace std;

Of course it then can't resolve "cout" and "endl" either. Not finding "std" is rather basic and I hope easy to fix.

But as I said, it builds clean. Could it be that the compiler and Eclipse are using different search paths? The on-screen errors are annoying but at least it seems to be working.

I with I could post a color screen shoot but the forum software will not allow that. But you can see it here
https: //
| Remove this space from URL (had to do this to post link here.

[Updated on: Sat, 04 January 2014 04:37]

Report message to a moderator

Previous Topic:Install Question
Next Topic:HelloWorld.cpp fails on Juno/Mac
Goto Forum:

Current Time: Thu Aug 21 06:16:59 EDT 2014

Powered by FUDForum. Page generated in 0.01689 seconds