Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8366112

[8u] GHA: Fix broken installation of Windows SDK

XMLWordPrintable

    • master
    • x86_64
    • windows

      Installation of Windows SDK 10 by VS 2017 no longer works. This causes configure failure for windows x64 builds (during freetype configuration):

      configure: User specified --with-freetype-src but building freetype failed. (see freetype.log for build results)

      Actual failure is:
      C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows SDK version 10.0.17763.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [D:\a\jdk8u-dev\jdk8u-dev\freetype\builds\windows\vc2010\freetype.vcxproj]

      While VS 2017 shows no installation errors, it seems like requested SDK version (17763) is no longer available and need to be updated. (VS 2017 installer apparently downloads components from the internet)

            zzambers Zdenek Zambersky
            zzambers Zdenek Zambersky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: