After setting up La Clojure / IntelliJ, I also tried setting up LWJGL.
After downloading / unpacking LWJGL, I added lwjgl.jar and lwjgl_util.jar to the libraries in the section "file → project structure".
Then I switched to the / repl console and tried to import the classes needed to implement the main example specified on the lwjgl homepage. However, I was only partially successful; here are my results:
user=> (import org.lwjgl.LWJGLException) org.lwjgl.LWJGLException user=> (import org.lwjgl.opengl.Display) UnsatisfiedLinkError no lwjgl in java.library.path java.lang.ClassLoader.loadLibrary (ClassLoader.java:1860)
Why can I import 'org.lwjgl.LWJGLException' but not 'org.lwjgl.opengl.Display'? Or may I have misinterpreted REPL output?
source share