Error while compiling from source: 'SConsEnvironment' object has no attribute 'servers_sources':

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Kotep

I’m following the instructions on the Compiling For Windows page to try to compile Godot. I installed VS2019, installed the other programs with the scoop commandscoop install gcc python scons yasm make and then tried to just run scons platform=windows.

This is the output I got:
scons: Reading SConscript files ...
Configuring for Windows: target=debug, bits=default
Found MSVC version 14.2, arch amd64, bits=64
AttributeError: 'SConsEnvironment' object has no attribute 'servers_sources':
File "D:\Games\Godot3.2.1Source\SConstruct", line 528:
SConscript("servers/SCsub")
File "C:\Users\Kotep\scoop\apps\scons\3.1.2\scons-local-3.1.2\SCons\Script\SConscript.py", line 660:
return method(*args, **kw)
File "C:\Users\Kotep\scoop\apps\scons\3.1.2\scons-local-3.1.2\SCons\Script\SConscript.py", line 597:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\Kotep\scoop\apps\scons\3.1.2\scons-local-3.1.2\SCons\Script\SConscript.py", line 286:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "D:\Games\Godot3.2.1Source\servers\SCsub", line 5:
env.add_source_files(env.servers_sources, "*.cpp")