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

Please help! Can't get this working on Mac arm64 #180

Open
NetworkEntity opened this issue Feb 8, 2023 · 1 comment
Open

Please help! Can't get this working on Mac arm64 #180

NetworkEntity opened this issue Feb 8, 2023 · 1 comment

Comments

@NetworkEntity
Copy link

Anyone ran into this issue?

It seems like the canvas version wont work with the node version. I'm not sure which versions i need? I'm running on a mac M1 arm64. I've built Cairo using macports, but i think the code was made on x86 and so its not compatible but i'm not sure what to change.

Any help would be much appreciated.

Error: dlopen(/Users/admin/Desktop/project/Compiling Code/Testing/gifengine/step2_spritesheet_to_generative_sheet/node_modules/canvas/build/Release/canvas.node, 0x0001): symbol not found in flat namespace '_cairo_fill'
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1187:18)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/Users/admin/Desktop/ShodoCrypts/Shodocrypts v.3 GIF/Compiling Code/Testing/gifengine/step2_spritesheet_to_generative_sheet/node_modules/canvas/lib/bindings.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
code: 'ERR_DLOPEN_FAILED'
}

@gabmacinas
Copy link

gabmacinas commented Mar 1, 2023

I'm able to find this issue if your brew is using intel, you can check using the activity monitor and if the app 'rust' is in Rosetta then reinstalling could be your solution. Link to StackOverflow setting up Homebrew on Mac Silicon

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

2 participants