title: Cannot open include file "d3dx9.h"
body: <p><strong>Edit:</strong> Of course, immediately after working on it for an hour then posting here, I found the stupid mistake...</p>
  
  <p>I'm getting compiler errors when trying to <code>#include &lt;d3dx9.h&gt;</code> in a project.  I'm receiving "fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory".</p>
  
  <ul>
  <li>I do have the DirectX SDK installed (I also just tried reinstalling it to no avail).</li>
  <li>In the Project Properties:
  <ul>
  <li>VC++ Directories are set to "<code>$(DXSDK_DIR)Include;$(IncludePath)</code>" and "<code>$(DXSDK_DIR)Lib\x86;$(LibraryPath)</code>" for Include and Library directories respectively for all configurations&mdash;and the environment variable <code>%DXSDK_DIR%</code> points to <code>C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\</code> as expected.</li>
  <li>C/C++ > General settings has <code>$(DXSDK_DIR)include</code> listed in the Additional Include Directories</li>
  <li>Linker > Input > Additional Dependencies has <code>d3dx9d.lib</code> included for Debug and <code>d3dx9.lib</code> included for Release configuration.</li>
  </ul></li>
  <li>I <em>am</em> able to successfully compile and run tutorial projects from the DirectX Sample Browser.</li>
  <li>Visual Studio's Intellisense/autocomplete will find <code>d3dx9.h</code> and suggest type and function names that are within the file (and not included through anything else I'm <code>#include</code>ing) so it seems that Intellisense can find it.</li>
  </ul>
  
  <p>Any suggestions on what I'm forgetting or what else to try?</p>
  
  <p>Thanks</p>