I have ran the following commands:
scons -j4 platform=windows
then
scons p=windows vsproj=yes
I am following this tutorial on getting Godot to compile in visual studio 2019: https://docs.godotengine.org/en/stable/development/cpp/configuring_an_ide/visual_studio.html
When I try to build the project solution inside visual studio I get the following error:
Error MSB3073 The command "echo Starting SCons && cmd /V /C set "plat=x64" ^& (if "x64"=="x64" (set "plat=x86_amd64")) ^& set "tools=yes" ^& (if "debug"=="release" (set "tools=no")) ^& set "custom_modules=" ^& call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" !plat! ^& scons --directory="D:\Godot\Godot Source\godot" platform=windows progress=no target=debug tools=!tools! custom_modules=!custom_modules! -j1" exited with code 255.
godot C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 44