|
Re: C++: Symbol 'cout' could not be resolved [message #1703741 is a reply to message #1703659] |
Tue, 04 August 2015 15:20 |
|
On 08/03/2015 10:05 PM, Michael Lilley wrote:
> 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.
There's an Eclipse CDT forum to post in.
|
|
|
|
Powered by
FUDForum. Page generated in 0.09130 seconds