How to make Eclipse CDT's Linux GCC toolchain resolve C++ standard library headers?
- by Muhammad Khan
In Ubuntu 12.04 LTS I installed the Eclipse CDT plugin and opened the new hello world project to just test everything out. When I was creating the project, I chose the only toolchain: "Linux GCC"
When the project is created, however, it says that
#include<iostream>
#include<cstdlb>
are unresolved. Thus, lines with cout and endl can't be used and it cannot find std.
using namespace std; is also causing problems.
How can I get my #include directives for standard library headers recognized, to support code using the std namespace?