[英]How to find DirectX loctation for d3dx9.h error
我不知道我的 DirectX 的位置,有没有办法找到它?
我需要它来解决这个问题:#include <d3dx9.h> 错误
Direct3D 9 的d3dx9.h
旧实用程序库仅在 DirectX SDK 中可用。 2010 年 6 月是 DirectX SDK的最后一个版本,并且在Microsoft 下载中——尽管时间不长。
Note that with Visual C++ 2012 or later, you must take special care when referencing the legacy DirectX SDK include/lib paths because they contain headers older than the Windows 8.x SDK/Windows 10 SDK used by Visual C++ so they can cause conflicts. 详情见本页底部。
D3DX9、D3DX10、D3DX11 和 DirectX SDK 均已弃用。 请参阅此博客文章。
一般建议是根本不使用 Direct3D 9,而是使用 Direct3D 11 或更高版本。 DirectX 11 和 DirectX 12 所需的所有 Direct3D 包含/库都包含在 Windows SDK 中。
有关旧 D3D9X/D3DX10/D3DX11 实用程序库中内容的现代替换列表,请参阅此博客文章。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.