admin管理员组文章数量:1345294
I'm trying to build the Mig Alley source code, and it needs an old version of DirectX. The issue is that DirectX is now included with the Windows SDK, so it keeps conflicting with the old DirectX SDK I'm trying to use. I've tried excluding the path, and rearranging my include paths to have the Windows SDK first.
Does anyone have any ideas? I can't get the correct DirectX 6 SDK to be used.
Errors:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\shared\d3d9types.h(320): message : see declaration of '_D3DPRIMITIVETYPE'
D:\DIRX6SDK.98\include\d3dtypes.h(904,37): error C2011: '_D3DTRANSFORMSTATETYPE': 'enum' type redefinition
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\shared\d3d9types.h(330): message : see declaration of '_D3DTRANSFORMSTATETYPE'
D:\DIRX6SDK.98\include\d3dtypes.h(923,34): error C2011: '_D3DRENDERSTATETYPE': 'enum' type redefinition
本文标签: cHow to force Visual Studio to ignore Windows SDK DirectX headersStack Overflow
版权声明:本文标题:c++ - How to force Visual Studio to ignore Windows SDK DirectX headers? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743756876a2533665.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论