ok, so excons needs to be downloaded and extracted at the root of the repo for it work. Side note, carry on.
Now I am getting the following errors:
scons: Reading SConscript files …
[excons] Read excons.cache: C:/src/mgear4/excons.cache
‘dict’ object has no attribute ‘iteritems’
Using msvc 14.2
AttributeError: ‘list’ object has no attribute ‘read’:
File “C:\src\mgear4\SConstruct”, line 9:
env = excons.MakeBaseEnv()
File “C:\src\mgear4\excons_init_.py”, line 920:
env = SCons.Script.Environment(ENV={“PATH”: os.environ[“PATH”], “TMP”: os.environ[“TEMP”]}, MSVC_VERSION=mscver, MSVS_VERSION=mscver, MSVS_ARCH=msvsarch, TARGET_ARCH=msvsarch)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Environment.py”, line 1030:
apply_tools(self, tools, toolpath)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Environment.py”, line 116:
_ = env.Tool(tool)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Environment.py”, line 1906:
tool(self)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Tool_init_.py”, line 265:
self.generate(env, *args, **kw)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Tool\default.py”, line 40:
for t in SCons.Tool.tool_list(env[‘PLATFORM’], env):
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Tool_init_.py”, line 769:
c_compiler = FindTool(c_compilers, env) or c_compilers[0]
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Tool_init_.py”, line 672:
if t.exists(env):
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Tool\msvc.py”, line 325:
return msvc_setup_env_tool(env, tool=tool_name)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Tool\MSCommon\vc.py”, line 1335:
MSVC.SetupEnvDefault.register_tool(env, tool, msvc_exists)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Tool\MSCommon\MSVC\SetupEnvDefault.py”, line 77:
initialize(env, msvc_exists_func)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Tool\MSCommon\MSVC\SetupEnvDefault.py”, line 72:
Data.msvc_installed = msvc_exists_func(env)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Tool\MSCommon\vc.py”, line 1291:
vcs = get_installed_vcs(env)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Tool\MSCommon\vc.py”, line 947:
VC_DIR = find_vc_pdir(env, ver)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Tool\MSCommon\vc.py”, line 735:
comps = find_vc_pdir_vswhere(msvc_version, env)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\SCons\Tool\MSCommon\vc.py”, line 686:
cp = subprocess.run(vswhere_cmd, stdout=PIPE, stderr=PIPE, check=True)
File "C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\run_init.py", line 145:
process = cls.create_process(command, stdin, cwd=cwd, env=env, shell=shell)
File "C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\site-packages\run_init.py", line 121:
shlex.split(command),
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\shlex.py”, line 315:
return list(lex)
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\shlex.py”, line 300:
token = self.get_token()
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\shlex.py”, line 109:
raw = self.read_token()
File “C:\Users\ironi\AppData\Local\Programs\Python\Python39\lib\shlex.py”, line 140:
nextchar = self.instream.read(1)
What am I missing?
Thank you