problems in directx 9: miising d3dx9.h
#2 (and #1) is your problem. Dependencies are library (.lib) files, not header files.
In #1, your library directory should be “C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86” or “C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x64”—you have to specify the platform.
It can’t find “d3dx9.h” because you’ve added it as a dependency, which causes it search for libraries under that name, and since your library path is wrong (in addition to d3dx9.h not being a library and not being under the library directories) it can’t find it.
Also, ensure it is #include <d3dx9.h>, not #include "d3dx9.h".
L. Spiro
I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid