Closed rpaquay closed 7 years ago
@rpaquay: Would you be able to try this again with the most recent version of master, which requires VS2017 and uses the Windows 10 SDK?
I've run into this (or something similar) before, I ended up having to resinstall Visual Studio 2015 and the Windows SDK component. Since the issue seems to be resolved for @rpaquay, I'll close the issue. However, @rpaquay if you have any other information to add, please do.
tldr: The root cause seems related to installing the
Windows Driver Kit - Windows 10.0.14393.0
, which confuses the scons script detecting the Univeral CRT location.After cloning the latest repository and installing the dependencies as explained in the readme.md file, running
scons source
failed with the following error:After setting the
SCONS_MSCOMMON_DEBUG
(set SCONS_MSCOMMON_DEBUG=-
and then runscons source
again) to figure out what is happening, the log showed that scons was picking the Universal CRT from a directory that did not include the universal CRT include files. In the log below, the list of entries contains'C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\ucrt
which does not exist on my machine.The issue is that I had installed at some point decided to install the
Windows Driver Kit - Windows 10.0.14393.0
, which seems to have installed a partial(?) universal crt that does not contain all expected directories, i.e. it is missing a "ucrt" sub-folder.By comparison, a "real" Universal CRT installation directory looks like this:
I worked around the issue by renaming the
10.0.14393.0
directory tobak.10.0.14393.0
so it is skipped by the scons script.