This tutorial will teach people how to fix the "Unable to include d3dx9.h" error when compiling, hopefully reducing the number of threads regarding this.
Credits:
CodeDemon--Writing the tut
Gellins Base--What I used as an example project.
1)Open your project, then at the top select Tools->Settings-Expert Settings.
2)After it re-configures, go to Project->YOUR PROJECT NAME PROPERTIES.
3)Now click on Configuration Properties and then select Include Directories.
4)Click on the Edit button and a window should pop up.
5)At the top of the new window click on the little folder icon labeled "New Line"
6)Click the triple dot button and then navigate to your C:/YOUR DIRECTX SDK DIRECTORY(Usually under Program Files)/Include and click Select Folder.
7)Now we add the library files, do the same exact thing we did in steps 3-6
8)Select Library Directores
9)Click on the Edit button and a window should pop up.
10)At the top of the new window click on the little folder icon labeled "New Line"
11)Click the triple dot button and then navigate to your C:/YOUR DIRECTX SDK DIRECTORY(Usually under Program Files)/Lib/x86 and click Select Folder.
12)Now click the Apply button on the window where all the VC++ Directories were.
13)Hit the Save All button.
14)Now build your project in release mode and you should no longer have that error!