This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+1 vote

I have ran the following commands:

scons -j4 platform=windows


scons p=windows vsproj=yes

I am following this tutorial on getting Godot to compile in visual studio 2019:

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  
in Engine by (29 points)
edited by

Have exactly the same problem. I am wondering if it's due to the white spaces on the path...

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

Oh okei going to try. Thanks for replying!

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.