title: Issues with g++ and Eclipse on Linux - unresolved symbols
body: <p>I am running Ubuntu 64bit version, and downloaded the latest 64bit Eclipse.
  Installed g++ along with <code>build-essential</code>. Tested g++ to make sure it works from terminal, and it works fine.</p>
  
  <pre><code>alex@ubuntu:~/Desktop$ g++ test.cpp -o test
  alex@ubuntu:~/Desktop$ ./test
  Hello World!alex@ubuntu:~/Desktop$ 
  </code></pre>
  
  <p>However, trying to build simple C++ Hello Word project(one of the default projects that comes with Eclipse), I am getting error.</p>
  
  <pre><code>Description Resource    Path    Location    Type
  Program "g++" not found in PATH         Preferences, C++/Build/Settings/Discovery, [CDT GCC Builtin Compiler Settings] options  C/C++ Scanner Discovery Problem
  </code></pre>
  
  <p>I have added Environment variable named <code>g++</code> with value <code>/usr/bin/g++</code> and the above error went away, however, now I am getting unresolved errors, though project compiles and in the Console shows <code>!!!Hello World!!!</code></p>
  
  <pre><code>Description Resource    Path    Location    Type
  Symbol 'endl' could not be resolved test_hello.cpp  /test_hello/src line 13 Semantic Error
  Symbol 'cout' could not be resolved test_hello.cpp  /test_hello/src line 13 Semantic Error
  Symbol 'std' could not be resolved  test_hello.cpp  /test_hello/src line 10 Semantic Error
  </code></pre>
  
  <p>Have I correctly entered Environmental variable ?? How can I get fix the "unresolved" error ?? Thanks !</p>