Building fails with the following errors on Windows 10 202H x64 (October 2020 update):
\xenia\src\xenia\ui\d3d12\d3d12_provider.cc(389,3): error C2065: 'D3D12_FEATURE_DATA_D3D12_OPTIONS7': undeclared identifier [\xenia\build\xenia-ui-d3d12.vcxproj]
\xenia\src\xenia\ui\d3d12\d3d12_provider.cc(389,37): error C2146: syntax error: missing ';' before identifier 'options7' [ \xenia\build\xenia-ui-d3d12.vcxproj]
\xenia\src\xenia\ui\d3d12\d3d12_provider.cc(389,37): error C2065: 'options7': undeclared identifier [ \xenia\build\xenia-ui-d3d12.vcxproj]
\xenia\src\xenia\ui\d3d12\d3d12_provider.cc(390,1): error C2065: 'D3D12_FEATURE_D3D12_OPTIONS7': undeclared identifier [ \xenia\build\xenia-ui-d3d12.vcxproj]
\xenia\src\xenia\ui\d3d12\d3d12_provider.cc(390,1): error C2065: 'options7': undeclared identifier [ \xenia\build\xenia-ui-d3d12.vcxproj]
\xenia\src\xenia\ui\d3d12\d3d12_provider.cc(392,36): error C2065: 'D3D12_HEAP_FLAG_CREATE_NOT_ZEROED': undeclared identifier [ \xenia\build\xenia-ui-d3d12.vcxproj]
....
\xenia\src\xenia\ui\d3d12\d3d12_provider.cc(429,39): error C2065: 'D3D12_HEAP_FLAG_CREATE_NOT_ZEROED': undeclared identifier [ \xenia\build\xenia-ui-d3d12.vcxproj]
You need to install the latest SDK Version.
Open the Visual Studio Installer from the Start Menu and select Modify. Then there is a list of components, somewhere at the bottom are the Windows 10 SDK Versions.
You likely can deselect the old version
Yes, the minimum Windows SDK version needed to build Xenia is 10.0.19041.0.
You need to install the latest SDK Version.
Open the Visual Studio Installer from the Start Menu and select Modify. Then there is a list of components, somewhere at the bottom are the Windows 10 SDK Versions.
You likely can deselect the old version
Thank you! That did it, build success. Apologies if it was mentioned in documentation, I haven't updated VS in a while (I don't use it for my day job), thanks again :)
Most helpful comment
Yes, the minimum Windows SDK version needed to build Xenia is 10.0.19041.0.