I'm trying to run the sample code from the book Physics for Game Programmers. I have installed the DirectX SDK June 2010 but get the following errors.
Cannot open include file: 'd3drmwin.h'
Cannot open include file: <d3drm.h>
Cannot open include file: <d3dtypes.h>
I believe I have added all necessary include and library paths and Additional Dependencies (D3D10.lib & D3DX10.lib) as I can access the header files d3d10.h and d3d9.h without any issues.
Any ideas how to get their code running? Is the code possibly referencing a old version of DirectX?
Edit: I have installed the SDK and Set up the following:
Project->Properties->VC++ Directories->Include Directories and added
C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Include;
Project->Properties->VC++ Directories->Library Directories and added
C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Lib\x86;
Project->Properties->Linker->Input and added
D3D10.lib;D3DX10.lib
Edit
Ok, I have figured out those header files belong to DirectX 8. So the latest SDK doesn't support them. Now i just have to figure out where to download the DirectX 8 SDK. Any ideas where to find it?