Recently I have picked up a book on Game Programming using Visual C++. It uses the the DirectX library, and says that I only need to write #include and #pragma comment(lib, "d3dx9.lib") into the code. However the program reports to be unable to find d3dx.h. How can I fix this.
I've tried adding the file in the Project Properties-Configuration properties-Linker-Input-Additional Dependencies yet it still cannot find the file. I am using Visual Studio 2010 if that changes anything.
I reports to be fatal error C1083: Cannot open include file: 'd3dx.h': No such file or directory.