Jump to content
Posted 13 June 2014 - 08:11 PM
Posted 13 June 2014 - 10:09 PM
#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".
Edited by L. Spiro, 15 June 2014 - 02:26 AM.
Posted 14 June 2014 - 07:48 AM