Hello all,
I am trying to use LWJGL.DevIL on macOS X.
So i downloaded LWJGL on the website, configured classpath and -Dlibrary stuff: Crash.
Ok, so i search a little bit on google and i manage to download MAC OS X libraries on DevIL website.
Then i tried to run the tutorial again: Crash.
Searching on the forum teached me that
i need to call IL.create()Ok let's go, but doing so: Crash.
Searching a little bit more, i learned that
i need to Call IL.ilInitOk (i pass on the fact that i had to recompile source because IL.ilInit is private), now it is still crashing am i am running out of "search forum/google" bullets:
java.lang.NullPointerException
at org.lwjgl.opengl.GL11.glGenTextures(GL11.java:1206)
at Texture.loadTexture(Texture.java:183)
at Game.init(Game.java:71)
at Game.main(Game.java:41)
Line 183 of Texture.loadTexture is:
GL11.glGenTextures(scratch);
It is a little discouraging....but i won't give up ! Anybody can suggest me something ?