我正在尝试构建 Xbox Live 示例并遇到 DirectXTK 错误。无论我使用的是创作者计划还是 ID@Xbox 示例,都会发生这种情况。这些是https://github.com/Microsoft/xbox-live-samples上的示例
例如,打开排行榜示例时,我在解决方案资源管理器中看到“DirectXTK(不可用)”。
尝试构建时,我得到以下输出
1>------ Build started: Project: Leaderboards, Configuration: Debug Win32 ------
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1611,5): warning : The referenced project '..\..\..\..\Kits\DirectXTK\DirectXTK_Windows10.vcxproj' does not exist.
1> pch.cpp
1>c:\users\rigu\xsapi\github\test\xbox-live-samples\samples\creatorssdk\leaderboards\uwp\cpp\pch.h(32): fatal error C1083: Cannot open include file: 'GamePad.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
关于如何构建和运行示例的任何想法?