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

[Backend] bump wasmedge version to 0.14.0 for support windows #149

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

L-jasmine
Copy link
Collaborator

In Wasmedge 0.13.5, there is a bug in the plugins mechanism on Windows, so Moxin needs to upgrade to Wasmedge 0.14.0 to support Windows.

When build on Windows, you may encounter the following error. This is because wasmedge-sys use bindgen, which requires clang. To resolve this error, you need to download LLVM and specify the environment variable LIBCLANG_PATH.

--- stderr
  thread 'main' panicked at G:\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bindgen-0.69.4\lib.rs:622:31:
  Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"

It is only needed when running the build.rs script, so it only exists during the compilation phase.

Signed-off-by: csh <458761603@qq.com>
@L-jasmine
Copy link
Collaborator Author

But I found that previous versions could run on Windows, whereas the current version cannot pop up the UI on Windows.

@jmbejar jmbejar merged commit dfd623f into moxin-org:main Jul 17, 2024
@MrBeanCpp
Copy link

After updating wasmedge (system) from 0.13.5 to 0.14.0, we may need to install WASI-NN plugin manually.
Install and uninstall WasmEdge | WasmEdge Developer Guides

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

Successfully merging this pull request may close these issues.

3 participants