@vlaaad Hi. Can't launch the reveal with introduced command:
clj \
-Sdeps '{:deps {vlaaad/reveal {:mvn/version "1.3.280"}}}' \
-X vlaaad.reveal/repl
It fails with:
Loading library prism_es2 from resource failed: java.lang.UnsatisfiedLinkError: /home/shegeley/.openjfx/cache/17.0.2-ea/libprism_es2.so: libX11.so.6: cannot open shared object file: No such file or directory
java.lang.UnsatisfiedLinkError: /home/shegeley/.openjfx/cache/17.0.2-ea/libprism_es2.so: libX11.so.6: cannot open shared object file: No such file or directory
...
As far as I get it's from in deps.edn of cljfx
:headless {:jvm-opts ["-Dtestfx.robot=glass" "-Dglass.platform=Monocle" "-Dmonocle.platform=Headless" "-Dprism.order=sw"]
:extra-deps {org.testfx/openjfx-monocle {:mvn/version "jdk-12.0.1+2"}}}
So I know this problem is not related to the Reveal itself, but maybe you can recommend something?Hi, is it Linux?
Yes
I tried cleaning cache
Might be more older javafx version not keeping up with modern Linux desktop?
Could you try pinning javafx dep versions to something newer like 19.0.2.1?
There is a bunch of deps, see here https://github.com/cljfx/cljfx/blob/master/deps.edn#L2
I use pretty unique distribution. GuixSD. http://guix.gnu.org/
Maybe that's the case.
Pinning := set one in my ~/.config/clojure/deps.edn ?
Yes
Or no..
Set it in a deps file that depends on reveal
E.g. if it's an alias in a project, set it there
Or if it's an alias in ~/.clojure/deps.edn, set it there
Ok, thanks. Will try