Visual studio 2017: Cannot open include file 'd3dx9.h' no such file or directory in a static library used by .exe application
问题 I am using Visual Studio 2017 and I'm required to use DirectX9.0 for a school project. I have a solution with 3 projects. One is a static library (.lib), one is an application (.exe) and one is a unit test project: KB01_Game.exe imports KB01_Engine.lib like so: KB01_Game properties KB01_Engine.lib contains the d3dx9 references like so (I have also tried reversing the order of these DXSDK references, with no success): KB01_Engine properties The files in KB01_Engine include the directx 9