title: cannot open source file "d3dx9.h"
body: <p>I've been having problems with this for months, I've looked at many pages and still couldn't fix it.
  I'm on windows 10, using Visual Studio 2019, I've added this to include directories -&gt; <code>C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include</code>, and this to my library directories <code>C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86</code>. I've also tried adding this to my include and library directories -&gt; <code>$(DXSDK_DIR)Include</code>, <code>$(DXSDK_DIR)Lib\x86</code>.
  <a href="https://i.stack.imgur.com/tT0WF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tT0WF.png" alt="enter image description here" /></a></p>