我在 Windows 7 上的 VS2012 中使用 directx 11 (Windows SDK 8)
我收到了这个错误
1 IntelliSense: more than one instance of overloaded function "XMMatrixTranspose" matches the argument list:
function "DirectX::XMMatrixTranspose(DirectX::CXMMATRIX M)"
function "XMMatrixTranspose(DirectX::CXMMATRIX M)"
argument types are: (const DirectX::XMMATRIX) c:\Program Files (x86)\Windows Kits\8.0\Include\um\DirectXMathMatrix.inl
我只包含的代码没有什么特别的,#include <DirectXMath.h>
而且任何时候都使用 XMMatrix 方法之一,我得到了这个
有任何想法吗?
谢谢