animated-art-engine icon indicating copy to clipboard operation
animated-art-engine copied to clipboard

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

Open NetworkEntity opened this issue 2 years ago • 1 comments

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' }

NetworkEntity avatar Feb 08 '23 01:02 NetworkEntity

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

gabmacinas avatar Mar 01 '23 03:03 gabmacinas