this might be a dumb question, but has anyone used cljfx to make a mobile app with gluon/graalvm yet?
That's a great question, I'd be very interested to learn if anyone tried this :) I tried running cljfx on graalvm a couple of times, but haven't succeeded yet. I think it might be easier to do cljs+react-native for mobile
@vlaaad , what type of errors did you run into?
https://github.com/cljfx/hn/blob/native-image/build/native_image.clj
graalv generally requires additional flags compared to java code which aren’t being passed here. If you use the gluon maven plugin, the log will print the exact native image command which you can modify to add the necessary clojure flags
I was able to compile clojure to run on my iphone, but I didn’t include gluon’s javafx libraries
Huh, nice!
I created https://github.com/phronmophobic/mobiletest as an example for vanilla clojure, but it does not include javafx dependencies
we started #graalvm-mobile if you do attempt compiling for mobile again