membrane

ru 2024-01-04T15:38:47.959879Z

👋 Hello, team! I want to try membrane. And what I get:

ru 2024-01-04T15:39:34.585579Z

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$

phronmophobic 2024-01-04T16:10:03.871559Z

Hi @zspovenetsky, what OS are you running on?

phronmophobic 2024-01-04T16:15:04.117949Z

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.

ru 2024-01-04T18:07:24.969839Z

After pull:

ru 2024-01-04T18:07:34.843309Z

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

phronmophobic 2024-01-04T18:08:24.393299Z

Ah, you also need to run clojure -T:build compile

✅ 1
phronmophobic 2024-01-04T18:08:48.050699Z

This will compile the java classes.

phronmophobic 2024-01-04T18:09:42.593039Z

The compiled java classes are included when membrane is used as a library, but need to be compiled when developing inside the membrane repo.

ru 2024-01-04T18:12:17.208529Z

Yes! It works! Thank you, Adrian!

🎉 1
✅ 1
ru 2024-01-04T15:40:54.106299Z

Tanks for any help.