Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | jak6jak |
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: Visual Studio — Godot Engine (stable) documentation in English
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
Have exactly the same problem. I am wondering if it’s due to the white spaces on the path…
Onnion | 2021-01-13 19:06
Hey probably should’ve updated this. I found out the issue was that I was using scons 4 when scons 3 is the version that works
jak6jak | 2021-01-13 23:19
Oh okei going to try. Thanks for replying!
Onnion | 2021-01-15 19:31