Open Bug 1312501 Opened 9 years ago Updated 3 years ago

Mozilla build system fails with "Cannot find the WinRT headers in the Windows SDK directory" when Win10 WDK is installed

Categories

(Firefox Build System :: General, defect)

49 Branch
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: paul.blinzer, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 Build ID: 20161019084923 Steps to reproduce: Follow instructions from https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites On a system with Windows10 (from SDK/WDK https://developer.microsoft.com/en-us/windows/hardware/windows-driver-kit, = current MS WDK sync firefox source, run ./mach configure Actual results: 0:19.80 checking for Windows SDK... 0x0a00 in 'C:\Program Files (x86)\Windows Kits\10\' 0:19.82 checking for Universal CRT SDK... 10.0.10586.0 in 'C:\Program Files (x86)\Windows Kits\10\' 0:19.83 checking for the Debug Interface Access SDK... c:/PROGRA~2/MICROS~4.0/DIA SDK 0:19.83 ERROR: Cannot find the WinRT headers in the Windows SDK directory (C:\Program Files (x86)\Windows Kits\10\). Please install them. Expected results: ./mach configure runs through correctly. Apparently the build environment has a dependency on older versions of the SDK pre 10586
The link above for Win10 SDK/WDK shows up as the Standalone kit which is needed for other projects in addition to VisualStudio 2015. The issue can be addressed by using a different (and not easily found download path that includes VS2015 Update3 changes (build version 14393.0, https://go.microsoft.com/fwlink/p/?LinkID=822845)
Troubleshooting documents may benefit from an update.
Component: Untriaged → Build Config
Product: Firefox → Core
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.