簡體   English   中英

如何找到 d3dx9.h 錯誤的 DirectX 位置

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM