microsoft / Xbox-GDK-Samples

Game development samples published by the Xbox Advanced Technology Group using the Microsoft GDK.
http://aka.ms/gamedevdocs
MIT License
218 stars 32 forks source link

CompileShaders gxdk requires the Microsoft Gaming SDK #10

Closed Vict0r-Chen closed 1 year ago

Vict0r-Chen commented 2 years ago

I got this prompt when trying to compile Xbox-GDK-Samples/Samples/System/Gamepad but I already have GDK installed, I'm using visual studio 2019 and the debug platform is Gaming.Xbox.Xbox (x64), am I missing something?

walbourn commented 2 years ago

This is likely related to an environment variable it's trying to find. Does this issue still repro for you?

walbourn commented 1 year ago

If you only have the "Microsoft GDK" installed and not the "Microsoft GDK with Xbox extensions", then the CompileShaders gxdk command is going to fail. It is designed specifically for Gaming.Xbox.*.x64 platforms. You can build the Gaming.Desktop.x64 platform with the "Microsoft GDK".