C++: Symbol 'cout' could not be resolved [message #1703659] |
Mon, 03 August 2015 19:54  |
Eclipse User |
|
|
|
Hi all,
I'm new to Eclipse and have already run into an irritating problem. Whenever I try to build a project, I get an error stating "Symbol 'cout' could not be resolved". My code is posted below:
#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
cout << "Hello World!";
}
I'm running on Debian 8.1 Jessie, and using the Linux GCC toolchain and CDT Internal Builder. My included directories are:
/usr/include/c++/4.9
/usr/include/x86_64-linux-gnu/c++/4.9
/usr/include/c++/4.9/backward
/usr/lib/gcc/x86_64-linux-gnu/4.9/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include
Any help solving this would be appreciated.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.14878 seconds