ztellman / penumbra

not under active development - idiomatic opengl bindings for clojure
354 stars 43 forks source link

defn-memo is not public #2

Closed MarkSwanson closed 15 years ago

MarkSwanson commented 15 years ago

I tried to run it but I get this error: java.lang.IllegalAccessError: defn-memo is not public (opengl.clj:0)

Perhaps my clojure-1.0.0.jar is too old? If so is there a quick patch that will make this work with 1.0.0?

Thanks!

ztellman commented 15 years ago

You can

  1. Remove :use references to defn-memo from the top of penumbra.opengl, penumbra.opengl.core, and penumbra.opengl.framebuffer
  2. Globally replace defn-memo with defn

I should warn you that if you're interested in the GPGPU part of Penumbra, this will potentially make things a lot slower. If you're just interested in the graphics stuff, I don't think it will make a big difference.

I strongly suggest just cloning the repos at git://github.com/richhickey/clojure.git and git://github.com/richhickey/clojure-contrib.git though.

ztellman commented 15 years ago

I'm told this is solved.