title: No such file (header file) error
body: <p>I want to include a header file.  I am working in a C++ environment, (C++11, Windows OS, Netbeans 7.3.1 IDE, Cygwin_4.x tool collection).  I do not know how I setup the environment/IDE (I did it 6 months ago).  I do not understand the fundamentals of the C++ build process or Cygwin related issues either, so I might have to fill in the gaps with some other references/documentation (on what specifically, I'm not sure).</p>
  <p>My ultimate objective is to be able to include header files using a syntax that does not require the full file path.  I want to write something terse, like:</p>
  <pre><code>#include &quot;src\stuff\blah.h&quot;  //or even better:  #include &quot;blah.h&quot;
  </code></pre>
  <p>The only way I can get my program to compile at all is by using the full file path, like this:</p>
  <pre><code>#include &quot;C:\NetBeansProjects\Project1\src\stuff\blah.h&quot;
  </code></pre>
  <p>And, I can only compile once using the full path.  If I try to rebuild, it will bomb with the <code>*** multiple target patterns.  Stop.</code> error.  There are workarounds for this error; those being either 1) deleting the <code>build</code> and <code>dist</code> folders between each rebuild (yikes?), or 2) <a href="https://netbeans.org/community/releases/68/cpp-setup-instructions.html#mingw" rel="nofollow noreferrer">following this 16 step setup process</a>.</p>
  <p>I do not want to follow either of those workarounds because they do not appear to deliver what I want.  How can I setup my environment to achieve what I want...of being able to include header files without using full paths?</p>