Freigeben über


Do your SDK samples fail to find d3dtypes.h, d3drmdef.h or d3d.h?

You might find that building Windows SDK samples that use DirectX fails.  Some header files (including d3dtypes.h, d3drmdef.h and d3d.h) rely on files installed with the DirectX SDK. To build with these files, the DirectX SDK must be installed. A new DirectX SDK was released on February 2nd.

Steps to get the D3D9Ex sample to build:
- Install VS 2005 Pro
- Install DirectX SDK.
- Install Win Vista SDK
- Run Win Vista SDK's "Integrate Vista SDK with VS" tool.
- In your build environment, add $(DXSDK_DIR)\Include and $(DXSDK_DIR)\Lib\[X86 | X64] to the bottom of you paths.

Download the complete DirectX SDK, which contains the DirectX Runtime and all DirectX software required to create DirectX compliant applications in C/C++ and C# for x64 and x86 platforms.  Questions?  Check out the Microsoft DirectX Developer Center and be sure to review the Readme for last-minute updates.

Comments

  • Anonymous
    April 08, 2008
    d3d.h is from an older (I believe Directx 7 version...so it is not in the latest DirectX SDK.  So, where is it?

  • Anonymous
    April 08, 2008
    I have the February DirectX SDK installed on my machine. It installs d3d.h to this path: c:Program FilesMicrosoft DirectX SDK (February 2007)Included3d.h. Karin