Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | PtrMan |
I am unable to build the engine from source on windows
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.1.0-pre.2.0
** Copyright (c) 2019 Microsoft Corporation
**********************************************************************
S:\win10host\programs\dev\ide\visual studio express 2019 preview>cd C:\godot
S:\win10host\programs\dev\ide\visual studio express 2019 preview>C:
C:\godot>scons p=windows vsproj=yes
scons: Reading SConscript files ...
scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File "C:\godot\SConstruct", line 3, in <module>
scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File "C:\godot\SConstruct", line 64, in <module>
Configuring for Windows: target=debug, bits=default
Found MSVC compiler: x86
Compiled program architecture will be a 32 bit executable. (forcing bits=32).
KeyError: 'MSVC_VERSION':
File "C:\godot\SConstruct", line 294:
detect.configure(env)
File "./platform/windows\detect.py", line 369:
configure_msvc(env, manual_msvc_config)
File "./platform/windows\detect.py", line 199:
if int(env['MSVC_VERSION'].split('.')[0]) >= 14: #vs2015 and later
File "C:\python27-x64\scons\SCons\Environment.py", line 410:
return self._dict[key]