LWJGL Forum

Programming => OpenGL => Topic started by: Cubic on October 09, 2012, 09:43:33

Title: Getting Leiningen 2 to play along with LWJGL
Post by: Cubic on October 09, 2012, 09:43:33
I'm trying to use LWJGL with Clojure (using Leiningen 2 for Project management). Specifying org.lwjgl.lwjgl/lwjgl "2.8.4" as a dependency did work more or less as expected, but didn't add any native dependencies (it downloaded them, but rather than putting them on java.library.path they ended up on the classpath).

Now I just ended up extracting all native libs from the jars, putting them in a directory called native, and pointed java.library.path there. It seems to work for now (on my linux machine anyway), but I am rather unhappy with this:


Ideally, I would like to be able to tell leiningen to do all of this in the project.clj.