👋 Hello, team! I want to try membrane. And what I get:
ru@ru-Stream-13:~/clojure/membrane-master$ clj -M:skialib -m membrane.example.todo Execution error (AssertionError) at membrane.skia/run-sync (skia.clj:2273). Assert failed: Could not run because membraneskia could not be loaded. membraneskialib Full report at: /tmp/clojure-9184885679522927775.edn ru@ru-Stream-13:~/clojure/membrane-master$
Hi @zspovenetsky, what OS are you running on?
Oh, I just noticed that the :skialib alias doesn't include the dependency for x86-64 linux. I just added it and pushed if you want to try again with the latest.
After pull:
ru@ru-Stream-13:~/clojure/membrane$ clj -M:skialib -m membrane.example.todo Downloading: com/phronemophobic/membrane/skialib-linux-x86-64/maven-metadata.xml from clojars Downloading: com/phronemophobic/membrane/skialib-linux-x86-64/0.14-beta/skialib-linux-x86-64-0.14-beta.pom from clojars Downloading: com/phronemophobic/glfw-linux-x86-64/3.3.8/glfw-linux-x86-64-3.3.8.pom from clojars Downloading: com/phronemophobic/glfw-linux-x86-64/3.3.8/glfw-linux-x86-64-3.3.8.jar from clojars Downloading: com/phronemophobic/membrane/skialib-linux-x86-64/0.14-beta/skialib-linux-x86-64-0.14-beta.jar from clojars Syntax error (ClassNotFoundException) compiling at (membrane/skia.clj:1:1). com.phronemophobic.membrane.Skia Full report at: /tmp/clojure-4454960064796550584.edn
Ah, you also need to run clojure -T:build compile
This will compile the java classes.
The compiled java classes are included when membrane is used as a library, but need to be compiled when developing inside the membrane repo.
Yes! It works! Thank you, Adrian!
Tanks for any help.