-
Notifications
You must be signed in to change notification settings - Fork 75
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
apple silicon support? #64
Comments
我遇到了同样的问题 。 |
I get a similar error (but not identical) on a Raspberry Pi (also aarch64)
|
I attempted to build
|
This is because we currently only build x86_64 binaries for osx, linux and windows due to deno only building them. It doesn't seem like our webview library supports arm either so that is a blocker. If we ever switch to webview_rust this might get solved but currently due to windows we cannot switch as that would require us to download even more dependecies for it to work... |
I'm using Deno Version:
Test code
Also, all the examples seem to be broken. |
@ematta 0.6.0-pre.0 only works on deno 1.10 on windows x86_64 and not very good. It is adviced to use deno 1.8 and webview_deno 0.5.6 as it is the latest supported release due to the deno plugin rework. |
@eliassjogreen we might need to revisit this.
|
This is because the dylib which is built for mac is only built for (and on) x86_64 hardware, there will need to be some small changes to |
I got this working locally, fairly easy.
If the GH action starts adding the arch to the filename and the above commit is added you have x86_64 & aarch64 sorted.
|
@Snider Could you please submit this as a PR? |
Sure. |
There now is code support for |
I only have an m1 atm, but GitHub runners can do it, PR works for me :) |
Hi, I want to test this library with Mac Mini(m1), but it doesn't work.
deno run -Ar --unstable https://deno.land/x/webview/examples/local.ts ... ... Download https://deno.land/std@0.79.0/hash/_wasm/wasm.js Download https://deno.land/std@0.79.0/encoding/base64.ts Download https://deno.land/std@0.79.0/path/_util.ts Download https://deno.land/std@0.79.0/path/_constants.ts Download https://deno.land/x/cache@0.2.8/file_fetcher.ts Check https://deno.land/x/webview/examples/local.ts error: Uncaught (in promise) Error: Could not open library: dlopen(/Users/paosder-mini/Library/Caches/deno/plug/https/github.com/4b121ee5a08490d714e3f7d99bf1bcce7bafae851df6e895a068bf3e7d1866ae.dylib, 5): no suitable image found. Did find: /Users/paosder-mini/Library/Caches/deno/plug/https/github.com/4b121ee5a08490d714e3f7d99bf1bcce7bafae851df6e895a068bf3e7d1866ae.dylib: mach-o, but wrong architecture /Users/paosder-mini/Library/Caches/deno/plug/https/github.com/4b121ee5a08490d714e3f7d99bf1bcce7bafae851df6e895a068bf3e7d1866ae.dylib: stat() failed with errno=35 at processResponse (deno:core/core.js:223:11) at Object.jsonOpSync (deno:core/core.js:246:12) at Object.openPlugin (deno:cli/rt/40_plugins.js:7:17) at Module.prepare (https://deno.land/x/plug@0.2.6/plug.ts:82:15) at async load (https://deno.land/x/webview@0.5.5/plugin.ts:75:9) at async https://deno.land/x/webview@0.5.5/mod.ts:5:1
It seems doesn't support ARM(m1) yet, however Deno support m1 latest release v1.6 using latest rust to build with.
How do I solve this problem or is there any plan of supporting arm architecture?
Thank you :)
The text was updated successfully, but these errors were encountered: