Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running ./wasm/compile.sh #23

Open
kidapu opened this issue Sep 22, 2022 · 0 comments
Open

Error while running ./wasm/compile.sh #23

kidapu opened this issue Sep 22, 2022 · 0 comments

Comments

@kidapu
Copy link

kidapu commented Sep 22, 2022

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 kidapu changed the title How to compile wasm with using webidl_binder Error while running ./wasm/compile.sh Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant