Godot Version
4.3-stable
Question
I want to create a build of the engine with spine-godot as a module (I put it in modules) under MSVS. I can build that with scons
directly (and that works), but I want to work under MSVS, debug, etc., so I want to build & run it with MSVS
I followed the offdoc and generated VS project. However, when I click Build
in MSVS, it fails with error like:
1> D:\software\VisualStudio\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(45,5): error MSB3073: The command "echo Starting SCons && cmd /V /C set "plat=x64" ^& (if "x64"=="x64" (set "plat=x86_amd64")) ^& call "D:\software\VisualStudio\VC\Auxiliary\Build\vcvars64.bat" !plat! ^& scons --directory="D:\gamedev\godot" progress=no platform=windows target=editor arch=x86_64 dev_build=yes" exited with code 2.
I tried to run this cmd
line directly in, well, cmd
:), but after these lines:
scons: Building targets ...
Linking Static Library modules\module_spine_godot.windows.editor.dev.x86_64.lib ...
I get a response that the line is too long. What should I do?
P. S. I can see that there was a PR for that and there is a “finally fixed” comment. Regression? or am I doing something wrong?