skeleton-tracing icon indicating copy to clipboard operation
skeleton-tracing copied to clipboard

Error while running ./wasm/compile.sh

Open kidapu opened this issue 2 years ago • 0 comments

When I run ./wasm/compile.sh , I met following error.

% sh ../compile.sh
generating glue...
compiling...
building:ERROR: Closure compiler run failed:

building:ERROR: /var/folders/7r/yw3tw0dx683f315b7vs6n34w0000gn/T/emscripten_temp_rhjrnu9n/trace_skeleton.js.pp.js.jso.js.jso.js.jso.js.jso.js:854:17: ERROR - [JSC_UNDEFINED_VARIABLE] variable intArrayFromString is undeclared
  854|   var intArray = intArrayFromString(value);
                        ^^^^^^^^^^^^^^^^^^

1 error(s), 0 warning(s)

emcc: error: closure compiler failed (rc: 1)

Am I the only one getting this error? Do you know how to fix this error?

Enviroment

  • mac osx 12.6
  • emcc 3.1.22

kidapu avatar Sep 22 '22 09:09 kidapu