Closed viperscape closed 11 years ago
Hmm perhaps I should be looking at libgdx instead if I want to target android
Hello viperscape,
This particular issue is a bug in clojure-contrib. You can see it here: https://github.com/richhickey/clojure-contrib/blob/master/src/main/clojure/clojure/contrib/accumulators.clj#L121, the clojure.set namespace is referenced without being required explicitly. Maybe it worked with Clojure 1.2, but when doing Clojure/Android builds you can use only one version of each library (in this case, org.clojure-android/clojure 1.5.x is included).
If you are keen on using Penumbra on Android, be prepared that it is a rabbit hole. As I said, only one version of the library will be included, and preferably it is the newer version, so you will have to patch Penumbra to make it work with newer Clojure. This involves rewriting clojure-contrib which I highly doubt you want to do:).
I also think you should try libgdx instead. @ayamada is doing a great job on bringing all necessary stuff together to develop with LibGDX on Android: https://github.com/ayamada/clan.
thanks for the information! I was surprised penumbra even used clojure contribs set. I was looking at jogamp funny enough, I'll check out libgdx too
I'm trying to include penumbra in my empty project. I was able to run lein droid all to my device but now after including penumbra (which uses clojure contrib's clojure.set apparently) I cannot get it to compile. Perhaps penumbra is too outdated and shouldn't be using contrib, but penumbra itself compiles fine so it seems to be an issue with lein-droid and penumbra. Perhaps I should just use lwjgl instead :-\
Thanks for any help!
Below is the trace running lein droid doall