Does Win SDK version matter for 4.27.2 (source)? Not building with Win SDK 10.22000

Hello, I’m trying to build a totally vanilla UE4.27.2 from GitHub using VS2019 under Win10 x64 and latest Microsoft’s SDK 10.22000

Did everything correctly as per instructions (Setup.bat then GenerateProjectFiles.bat then Win64 / Development Editor / UE4 as a startup project)

But UE Editor in particular fails to build because of:

“C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl/event.h(211): error C4668: ‘_NOEXCEPT_TYPES_SUPPORTED’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’”

and another 3 similar errors in that same header, which in turn results in MSBuild failure and exit code 6.

So is it an SDK issue? Do I need an older one? Or is it something else?

It appears this is true and 4.27.2 simply does not work with SDK newer than 19041. It builds fine with 19041.

1 Like