#Sconstruct syntax error while compiling

2 messages · Page 1 of 1 (latest)

snow tinsel
#

Platform: Ubuntu 16.04 i386 (on a vm)
Godot Version: 4.1

I was trying to compile the godot source for linux and after downloading the source and trying to run the scons comand this error popped up:

  File "/home/cukier/godot/SConstruct", line 559

    print(f'Building for platform "{selected_platform}", architecture "{env["arch"]}", target "{env["target"]}".')
^
SyntaxError: invalid syntax```
I have no Idea what that means but it never happened to me before.
also I am trying to compile it for linuxbsd
snow tinsel
#

Ok after some digging I found out that I needed to download the scons source use the install.py script and run scons under sudo