Skip to main content

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] Thu, 02 January 2014 01:25
Chris Albertson is currently offline Chris AlbertsonFriend
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 09:37]

Report message to a moderator

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

Current Time: Thu Jun 21 01:14:30 GMT 2018

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

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

Back to the top