animated-art-engine
animated-art-engine copied to clipboard
Please help! Can't get this working on Mac arm64
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.
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