title: eclipse cdt relative include path?
body: <p>Hey all.  I've downloaded and moved the Xerces (v3.1.1) source here:  /usr/include/xerces and I can see the source in the project explorer like this:  </p>
  
  <p>MyCppProject</p>
  
  <ul>
  <li><p>Binaries</p></li>
  <li><p>Includes</p>
  
  <ul>
  <li><p>[...] // some other directories</p></li>
  <li><p>xerces</p>
  
  <ul>
  <li><p>dom</p></li>
  <li><p>[...] // some other directories</p></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>And, here's my simple C++ code:</p>
  
  <p><pre><code>
  &#35;include &lt;xercesc/util/PlatformUtils.hpp&gt;<br>
  using namespace xercesc;
  &#35;include &lt;iostream&gt; 
  using namespace std;
  int main(int argc, char* argv[])
  {
    try {
        XMLPlatformUtils::Initialize();
    }
    catch (const XMLException&amp; toCatch) {
        return 1;
    }
    XMLPlatformUtils::Terminate();
    return 0;
  }
  </pre></code></p>
  
  <p>And, here's the error that I get (along with others that are caused by this file not being included):  </p>
  
  <p>../main.cpp:1:42: error: xercesc/util/PlatformUtils.hpp: No such file or directory</p>
  
  <p>What I don't understand is how the relative paths work in the source file.  When I say type <pre><code>&#35;include &lt;xercesc/util/PlatformUtils.hpp&gt;</pre></code> where is it looking, if not on the include paths already listed in the project explorer?</p>