Hi.

A few days ago I updated emscripten to latest version (that was 1.37.38).

Everything is working fine with the new version.

However I've just discovered that a specific project can't be compiled 
anymore.

It was a project that needs simd support. The (simplified) command-line is 
something like:
em++ -O2 -msse2 -I"./" -o main.html main.cpp 

And the result is something like:
Traceback (most recent call last):
  File "/.../emsdk/emscripten/1.37.38/em++", line 15, in <module>
    python_selector.run(emcc)
  File "/.../emsdk/emscripten/1.37.38/tools/python_selector.py", line 38, in 
run
    sys.exit(run_by_import(filename, main) if on_allowed_version() else 
run_by_subprocess(filename))
  File "/.../emsdk/emscripten/1.37.38/tools/python_selector.py", line 13, in 
run_by_import
    return getattr(importlib.import_module(os.path.basename(filename)), main
)()
  File "/.../emsdk/emscripten/1.37.38/emcc.py", line 1753, in run
    src = re.sub(shared.JS.memory_initializer_pattern, repl, open(final).
read(), count=1)
  File "/usr/lib/python2.7/re.py", line 155, in sub
    return _compile(pattern, flags).sub(repl, string, count)
  File "/.../emsdk/emscripten/1.37.38/emcc.py", line 1745, in repl
    open(memfile, 'wb').write(bytearray(membytes))
IOError: [Errno 2] No such file or directory: 'main.html.mem'

As far as I remember the code compiled successfully with some specific old 
emscripten version (even if I got no speedup from simd support).

Should I specify a newer python version? How?

Thank you in advance.



-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to