membrane

chromalchemy 2024-11-16T03:57:40.209849Z

I’m trying to run the skia example. After installing glfw, now I’m getting

Execution error (AssertionError) at membrane.skia/run (skia.clj:2331).
Assert failed: Could not run because membraneskia could not be loaded.
membraneskialib
Do I need to build this somehow?

phronmophobic 2024-11-16T13:15:32.262509Z

You have to include the native dependency corresponding to your platform. It also includes glfw

com.phronemophobic.membrane/skialib-macosx-x86-64 {:mvn/version "0.14-beta"}
com.phronemophobic.membrane/skialib-linux-x86-64 {:mvn/version "0.14-beta"}
com.phronemophobic.membrane/skialib-macosx-aarch64 {:mvn/version "0.14-beta"}

phronmophobic 2024-11-16T13:16:15.190989Z

I thought that was documented somewhere, but I don't see it. Sorry about that.

phronmophobic 2024-11-16T13:18:10.779349Z

Just updated the readme, https://github.com/phronmophobic/membrane/blob/master/README.md#skia-native-dependencies

chromalchemy 2024-11-17T19:20:05.793159Z

I did have that last one, the aarch64 one, in my deps.edn… ? Will try again, im not at computer atm