0 votes

I have no idea what I do wrong.

scons -j6 use_mingw=yes use_lto=yes platform=windows bits=64 target=release_debug
scons: Reading SConscript files ...
Configuring for Windows: target=release_debug, bits=64
Using MinGW
Checking for C header file mntent.h... no
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] Compiling ==> platform\windows\godot_windows.cpp
[Initial build] Compiling ==> platform\windows\context_gl_windows.cpp
[Initial build] Compiling ==> platform\windows\crash_handler_windows.cpp
[Initial build] Compiling ==> platform\windows\os_windows.cpp
[Initial build] Compiling ==> platform\windows\key_mapping_windows.cpp
[Initial build] scons: *** [platform\windows\godot_windows.windows.opt.tools.64.o] NameError : name 'sys' is not defined
run(["core\method_bind.gen.inc", "core\method_bind_ext.gen.inc", "core\method_bind_free_func.gen.inc"], ["core\make_binders.py"])
Executing builder function in subprocess: module_path='E:\\Develop\\godot\\core\\make_binders.py', parameter_file='C:\\Users\\CAROLI~1\\AppData\\Local\\Temp\\62d40913df2f462cafaed438a23c2e0d.json', parameter_file_size=13759, target=['E:\\Develop\\godot\\core\\method_bind.gen.inc', 'E:\\Develop\\godot\\core\\method_bind_ext.gen.inc', 'E:\\Develop\\godot\\core\\method_bind_free_func.gen.inc'], source=['E:\\Develop\\godot\\core\\make_binders.py']
Traceback (most recent call last):
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Taskmaster.py", line 235, in execute
    self.targets[0].build()
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Node\__init__.py", line 755, in build
    self.get_executor()(self, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Executor.py", line 384, in __call__
    return _do_execute_map[self._do_execute](self, target, kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Executor.py", line 117, in execute_action_list
    status = act(*args, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 1160, in __call__
    return act(
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 1229, in __call__
    return c.__call__(self, target, source, env, *args, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 704, in __call__
    stat = self.execute(target, source, env, executor=executor)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 977, in execute
    result = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
  File "E:\Develop\godot\methods.py", line 361, in mySpawn
    rv = mySubProcess(cmdline, env)
  File "E:\Develop\godot\methods.py", line 336, in mySubProcess
    if sys.version_info >= (3, 7, 0):
NameError: name 'sys' is not defined
scons: *** [platform\windows\context_gl_windows.windows.opt.tools.64.o] NameError : name 'sys' is not defined
Traceback (most recent call last):
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Taskmaster.py", line 235, in execute
    self.targets[0].build()
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Node\__init__.py", line 755, in build
    self.get_executor()(self, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Executor.py", line 384, in __call__
    return _do_execute_map[self._do_execute](self, target, kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Executor.py", line 117, in execute_action_list
    status = act(*args, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 1160, in __call__
    return act(
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 1229, in __call__
    return c.__call__(self, target, source, env, *args, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 704, in __call__
    stat = self.execute(target, source, env, executor=executor)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 977, in execute
    result = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
  File "E:\Develop\godot\methods.py", line 361, in mySpawn
    rv = mySubProcess(cmdline, env)
  File "E:\Develop\godot\methods.py", line 336, in mySubProcess
    if sys.version_info >= (3, 7, 0):
NameError: name 'sys' is not defined
scons: *** [platform\windows\crash_handler_windows.windows.opt.tools.64.o] NameError : name 'sys' is not defined
Traceback (most recent call last):
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Taskmaster.py", line 235, in execute
    self.targets[0].build()
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Node\__init__.py", line 755, in build
    self.get_executor()(self, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Executor.py", line 384, in __call__
    return _do_execute_map[self._do_execute](self, target, kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Executor.py", line 117, in execute_action_list
    status = act(*args, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 1160, in __call__
    return act(
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 1229, in __call__
    return c.__call__(self, target, source, env, *args, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 704, in __call__
    stat = self.execute(target, source, env, executor=executor)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 977, in execute
    result = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
  File "E:\Develop\godot\methods.py", line 361, in mySpawn
    rv = mySubProcess(cmdline, env)
  File "E:\Develop\godot\methods.py", line 336, in mySubProcess
    if sys.version_info >= (3, 7, 0):
NameError: name 'sys' is not defined
scons: *** [platform\windows\os_windows.windows.opt.tools.64.o] NameError : name 'sys' is not defined
Traceback (most recent call last):
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Taskmaster.py", line 235, in execute
    self.targets[0].build()
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Node\__init__.py", line 755, in build
    self.get_executor()(self, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Executor.py", line 384, in __call__
    return _do_execute_map[self._do_execute](self, target, kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Executor.py", line 117, in execute_action_list
    status = act(*args, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 1160, in __call__
    return act(
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 1229, in __call__
    return c.__call__(self, target, source, env, *args, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 704, in __call__
    stat = self.execute(target, source, env, executor=executor)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 977, in execute
    result = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
  File "E:\Develop\godot\methods.py", line 361, in mySpawn
    rv = mySubProcess(cmdline, env)
  File "E:\Develop\godot\methods.py", line 336, in mySubProcess
    if sys.version_info >= (3, 7, 0):
NameError: name 'sys' is not defined
scons: *** [platform\windows\key_mapping_windows.windows.opt.tools.64.o] NameError : name 'sys' is not defined
Traceback (most recent call last):
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Taskmaster.py", line 235, in execute
    self.targets[0].build()
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Node\__init__.py", line 755, in build
    self.get_executor()(self, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Executor.py", line 384, in __call__
    return _do_execute_map[self._do_execute](self, target, kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Executor.py", line 117, in execute_action_list
    status = act(*args, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 1160, in __call__
    return act(
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 1229, in __call__
    return c.__call__(self, target, source, env, *args, **kw)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 704, in __call__
    stat = self.execute(target, source, env, executor=executor)
  File "E:\Develop\Python\3_10_6\lib\site-packages\SCons\Action.py", line 977, in execute
    result = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
  File "E:\Develop\godot\methods.py", line 361, in mySpawn
    rv = mySubProcess(cmdline, env)
  File "E:\Develop\godot\methods.py", line 336, in mySubProcess
    if sys.version_info >= (3, 7, 0):
NameError: name 'sys' is not defined
scons: building terminated because of errors.
[Time elapsed: 00:00:02.929]
Godot version 3.5
in Engine by (12 points)

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.