question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incomplete documentation of Windows build dependencies

See original GitHub issue

The build dependencies documentation for Windows x64 states that the build requires the Windows SDK 7.1 for 64bit Python 3 and the following build environment configuration:

SET DISTUTILS_USE_SDK=1
SET MSSdk=1
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe" -q -version:v7.1
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release

However, this does not work for Python >= 3.5 which is compiled with MSVC 14.0 instead of 10.0.

Fortunalety, the build seems to work “out of the box” without any further configuration (took me a while to figure that out, though). The AppVeyor build takes this into account (in build_tools/appveyor/run_with_env.cmd) but it is mentioned nowhere in the documentation.

I’m not sure whether the Windows SDK is still required or if Build Tools for Visual Studio 2017 is sufficient.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
albertcthomascommented, Nov 17, 2018

Actually only doing

SET DISTUTILS_USE_SDK=1
"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64

works.

0reactions
phausamanncommented, Nov 19, 2018

Thanks @albertcthomas for the update, I can confirm that it builds fine on my system with the same environment setup.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Visual Studio installation and upgrade issues
This troubleshooting guide includes step-by-step instructions that should resolve most installation issues. Online installations.
Read more >
Troubleshoot broken references - Visual Studio (Windows)
The project's reference path is incorrect or incomplete. The file being referenced has been deleted. The file being referenced has been ...
Read more >
Windows Autopilot known issues
Autopilot deployments that take longer than one hour may display an incomplete deployment status in the deployment report.
Read more >
Visual Studio 2022 Release Notes
Get the latest features, bug fixes, and support for Visual Studio 2022. Download today.
Read more >
Troubleshoot Start menu errors - Windows Client
This issue was fixed by the Windows Cumulative Update that were released on December 5, 2018—KB4469342 (OS Build 17763.168). If you've already ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found