title: std::string could not be resolved in eclipse ubuntu
body: <p>I've tried searching the problem and even saw a similar question in:</p>
  
  <p><a href="https://stackoverflow.com/questions/7905025/string-could-not-resolved-error-in-eclipse-for-c">&quot;string could not resolved&quot; error in Eclipse for C++ (Eclipse can&#39;t resolve standard library)</a></p>
  
  <p>but his solution of installing mingw did not work. (what is msys? aptitude didn't find any package with that name)</p>
  
  <p>so I get an error message of the std::string problem even though there is an #include which Eclipse does recognize. I've put /usr/include/c++/4.6.3 in the includes of GNU c++ but the problem was not solved... what else can I do?</p>
  
  <p>the code is simple: </p>
  
  <pre><code>#include&lt;string&gt; 
  . 
  . 
  std::string var;
  </code></pre>
  
  <p>and the error i get is: "type std::string could not be resolved"</p>
  
  <p>the code is made up from a lot of classes so i can't paste it all. I've added everything to eclipse from an existing project. I've got the same problem with uint_32t and uint_64t which are not resolved</p>
  
  <p>ANSWER:
  I solved the issue. Since i created a new project from an existing project, then it just didn't add anything to the include directories so i created a new empty project and just included everything which was included there and it solved it</p>