Re: Help getting Clojure/Leiningen 2.0 building with LWJGL

2012-07-11 Thread Phil Hagelberg
On Sun, Jul 8, 2012 at 7:26 PM, Karl Smeltzer wrote: > Is anybody willing and able to walk me through getting a simple project > compiling which correctly manages all the dependencies required by LWJGL > [1]? It seems that Leiningen's handling of native dependencies has changed > over time and so

Re: Help getting Clojure/Leiningen 2.0 building with LWJGL

2012-07-11 Thread Brian Rowe
Here's how I did it: https://github.com/Syve/lwjgl-test I have team members on multiple platforms, so I chose to go a route that will enable a repl (and lein run) to be started no matter what platform they run, without configuration. N.B. I'm not sure if this solution will work on deployed code

Re: Help getting Clojure/Leiningen 2.0 building with LWJGL

2012-07-11 Thread Sanel Zukan
Try to add in project.clj: :jvm-opts ["-Djava.library.path=native/linux"]) where it will point to folder with OS specific libraries. Regards, Sanel On Monday, July 9, 2012 4:26:05 AM UTC+2, Karl Smeltzer wrote: > > Is anybody willing and able to walk me through getting a simple project >

Re: Help getting Clojure/Leiningen 2.0 building with LWJGL

2012-07-10 Thread Karl Smeltzer
On Tue, Jul 10, 2012 at 8:36 AM, George Oliver wrote: > > > On Sunday, July 8, 2012 7:26:05 PM UTC-7, Karl Smeltzer wrote: >> >> >> 3. Added :native-path "native" to my project.clj, although I'm not sure >> this is correct or working the way I expect >> >> > > Have a look at this, > > > http://sta

Re: Help getting Clojure/Leiningen 2.0 building with LWJGL

2012-07-10 Thread George Oliver
On Sunday, July 8, 2012 7:26:05 PM UTC-7, Karl Smeltzer wrote: > > > 3. Added :native-path "native" to my project.clj, although I'm not sure > this is correct or working the way I expect > > Have a look at this, http://stackoverflow.com/questions/10558795/using-lwjgl-in-leiningen-clojure -