title: "g++" not found in PATH [mac/Eclipse/XCODE installed/CDT downloaded]
body: <p>I get this error when I try to build a c++ project, however I can run cpp apps in Xcode, I've downloaded CDT for Eclipse, so the compiler must be installed.</p>
  
  <p>echo $PATH:</p>
  
  <pre><code>/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
  </code></pre>
  
  <p>I'm using Mac, I've found posts saying download gcc or Xcode, or solutions for Windows, it's very frustrating that I can't find the answer for such an easy problem, so please… How can I set the PATH variable for my cpp projects in Eclipse?</p>