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

Build WASM fails, for failure to build marian-dev #438

Closed
AmitMY opened this issue Aug 1, 2022 · 0 comments
Closed

Build WASM fails, for failure to build marian-dev #438

AmitMY opened this issue Aug 1, 2022 · 0 comments

Comments

@AmitMY
Copy link

AmitMY commented Aug 1, 2022

Following the README instructions, I could not "Build WASM".

The make command fails with

/bergamot-translator/3rd_party/marian-dev/src/data/factored_vocab.cpp:133:20: error: variable 'v' set but not used [-Werror,-Wunused-but-set-variable]
    for (WordIndex v = 0; io::getline(in, line); v++) {
                   ^

Perhaps I need a different gcc version or cmake version or something, but I do not know.

A full reproduction including a Dockerfile is found in:
marian-nmt/marian#393

@AmitMY AmitMY closed this as completed Aug 5, 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