godot: Build fails on Windows 10 with latest VS 2017: SCons 3.0.4 doesn't support SDK 10.0A

Godot version: e47915f7cd9336a37d08891a046a4bd778572a73

OS/device including version: Windows 10

Issue description: When trying to build with SCons, I get the following error:

scons: *** SDK version '10.0A' is not supported
File "./platform/windows\detect.py", line 146, in setup_msvc_auto

Additional Info: scons --version output:

SCons by Steven Knight et al.:
        script: v3.0.4.3a41ed6b288cee8d085373ad7fa02894e1903864, 2019-01-20 22:51:36, by bdeegan on kufra
        engine: v3.0.4.3a41ed6b288cee8d085373ad7fa02894e1903864, 2019-01-20 22:51:36, by bdeegan on kufra
        engine path: ['c:\\program files (x86)\\python\\python37-32\\lib\\site-packages\\scons\\SCons']

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

So when can we expect this 3.0.5 update of scons? This is a critical bug affecting every up to date windows machine and I won’t build the buildsystem from source because of some bad design choices on their side.

Hopefully later today. Note there is a test build available on testpypi pip install --index-url https://test.pypi.org/simple/ scons==3.0.5a3

in SCons/Tools/MSCommon/sdk.py line 181 change 10.0 to 10.0A

Did a fresh install today and was getting the 10.0A not supported error. The edit above enabled compilation on my system.

Hmmm, it seems to me scons is working okay with a 10.0A installed, maybe it’s picking a different one instead. I have a system which has these directories in Program Files (x86)/Microsoft SDKs/Windows: v10.0A, v7.0A, v8.0, v8.1, v8.1A. Possible the scons section on SDKs needs a bit of rework as the only one in that list that appears in the scons “supported” list is 7.0A (there are no 8.x’s at all). If @bdbaddog agrees maybe this should move over to the scons issue tracker?