Reputation: 317
I believe Eclipse is not recognizing my gcc compiler, as I'm getting errors for things that are definitely not errors, such as Symbol cout could not be resolved
http://img94.imageshack.us/img94/1264/gcc.png
Did I edit the PATH file incorrectly?
Upvotes: 0
Views: 789
Reputation: 58352
There are a few different issues here:
First, #include <iostream>
is a preprocessor directive, not a C / C++ statement, so it doesn't need a trailing semicolon.
Second, unresolved symbol errors within Eclipse don't necessarily have anything to do with your compiler and don't necessarily stop compilation. Eclipse can automatically use your GCC compiler to find include paths, etc., which it then uses to resolve symbols. In my experience, this feature of Eclipse is extremely nice when it works, somewhat brittle and opaque when it doesn't work, and completely magical at all times.
I'd recommend taking this one step at a time:
Upvotes: 2