godot: Build Fail on Windows 10
Godot version: 3.2 RC 2
OS/device including version: Windows 10
Issue description: Build failing on Windows Developer Powershell for VS2019 and normal powershell, with vsproj=yes
. without vsproj=yes
build works but uses mingw instead of msvc
Steps to reproduce:
scons -j12 platform=windows vsproj=yes
Configuring for Windows: target=debug, bits=default
Using MinGW
UnsupportedVersion: Unknown version None:
File "D:\godot\SConstruct", line 529:
methods.generate_vs_project(env, GetOption("num_jobs"))
File "D:\godot\methods.py", line 528:
batch_file = find_visual_c_batch_file(env)
File "D:\godot\methods.py", line 514:
return find_batch_file(env, version, host_platform, target_platform)[0]
File "C:\Users\senpai\scoop\apps\scons\3.1.2\scons-local-3.1.2\SCons\Tool\MSCommon\vc.py", line 407:
pdir = find_vc_pdir(msvc_version)
File "C:\Users\senpai\scoop\apps\scons\3.1.2\scons-local-3.1.2\SCons\Tool\MSCommon\vc.py", line 368:
raise UnsupportedVersion("Unknown version %s" % msvc_version)
Minimal reproduction project: Vanilla
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 29 (8 by maintainers)
I’ve filed a bug on SCons (and assigned it to me). We should have a fix in the next release.
That’s good news. O.k. I think we can fix this in SCons. I was hoping we wouldn’t have to look at all available drives for any/all
ProgramFiles(x86)
I did try manually setting
VCINSTALLDIR
but it showed other errors and at that point i gave up and decided to use mingw but thankfully I have it running on VS now