I switched over to building with Cygwin. I am now able to get through all the WindowsKits/emscripten packaging steps. However, when I attempt to build the engine I get another issue:
Build failed
-> task failed (err #-1):
{task: cxx array.cpp -> array_1.o}
None
Traceback (most recent call last):
File "./scripts/build.py", line 2142, in <module>
f()
File "./scripts/build.py", line 1037, in build_engine
self._build_engine_lib(args, lib, target_platform)
File "./scripts/build.py", line 988, in _build_engine_lib
run.env_command(self._form_env(), args + plf_args + self.waf_options + skip_
build_tests, cwd = cwd)
File "S:\defold_github\build_tools\run.py", line 63, in env_command
return _exec_command(args, shell = False, stdout = None, env = env, **kwargs
)
File "S:\defold_github\build_tools\run.py", line 41, in _exec_command
raise ExecException(process.returncode, output)
run.ExecException
This is when I skip the tests.
When I run the tests I get a different error:
Embedding 'data/defold_64.jpg' ...
Embedding 'data/defold_64_progressive.jpg' ...
[ 1/600] cxx: src\test\test_memory.cpp -> build\default\src\test\test_memory_2.
o
Waf: Leaving directory `S:\defold_github\engine\dlib\build'
Build failed
-> task failed (err #-1):
{task: cxx test_memory.cpp -> test_memory_2.o}
None
Traceback (most recent call last):
File "./scripts/build.py", line 2142, in <module>
f()
File "./scripts/build.py", line 1037, in build_engine
self._build_engine_lib(args, lib, target_platform)
File "./scripts/build.py", line 988, in _build_engine_lib
run.env_command(self._form_env(), args + plf_args + self.waf_options + skip_
build_tests, cwd = cwd)
File "S:\defold_github\build_tools\run.py", line 63, in env_command
return _exec_command(args, shell = False, stdout = None, env = env, **kwargs
)
File "S:\defold_github\build_tools\run.py", line 41, in _exec_command
raise ExecException(process.returncode, output)
run.ExecException
Could anyone please help me figure this out? I’d like to eventually contribute back to the project and I’m wanting to build a wasm-web version of the engine with -s ASSERTS=1 so I can debug my current project.