Skip to content

Commit 8300b69

Browse files
committed
Install Windows SDK >= 18362 to fix compilation of UE-4.27
resolves #192
1 parent 9bd34d9 commit 8300b69

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ue4docker/dockerfiles/ue4-build-prerequisites/windows/install-prerequisites.bat

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
@rem Install the chocolatey packages we need
22
choco install -y git --params "'/GitOnlyOnPath /NoAutoCrlf /WindowsTerminal /NoShellIntegration /NoCredentialManager'" || goto :error
3-
@rem pdbcopy.exe from Windows SDK is needed for creating an Installed Build of the Engine
4-
choco install -y choco-cleaner curl vcredist-all windows-sdk-10-version-1809-windbg || goto :error
3+
4+
@rem We're installing Windows SDK here instead of through VS installer for several reasons:
5+
@rem 1. pdbcopy.exe is needed for creating an Installed Build of the Engine and it isn't installed through VS
6+
@rem 2. UE-4.27 failts to compile against Windows SDK older than 18362 and 18362 isn't available through VS2017 installer
7+
choco install -y choco-cleaner curl vcredist-all windows-sdk-10.1 || goto :error
8+
59
choco install -y python --version=3.7.5 || goto :error
610

711
@rem Reload our environment variables from the registry so the `git` command works
@@ -49,7 +53,6 @@ curl --progress-bar -L "https://aka.ms/vs/16/release/vs_buildtools.exe" --output
4953
--add Microsoft.VisualStudio.Workload.MSBuildTools ^
5054
--add Microsoft.VisualStudio.Component.NuGet ^
5155
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ^
52-
--add Microsoft.VisualStudio.Component.Windows10SDK.17763 ^
5356
--add Microsoft.Net.Component.4.5.TargetingPack ^
5457
--add Microsoft.Net.ComponentGroup.4.6.2.DeveloperTools ^
5558
--add Microsoft.NetCore.Component.SDK

0 commit comments

Comments
 (0)