LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: elias4444 on December 27, 2004, 16:57:44

Title: Texture loading issues on linux now
Post by: elias4444 on December 27, 2004, 16:57:44
Hey guys, I'm not sure if this is a bug or not, but it's working in windows no problem, and used to work in linux until the latest version of lwjgl (I think). I'm now getting the following exception when it's run under linux:

java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.sun.javaws.Launcher.executeApplication(Unknown Source)
   at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
   at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
   at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
   at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
   at com.sun.javaws.Launcher.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: nglGenTextures
   at org.lwjgl.opengl.GL11.nglGenTextures(Native Method)
   at org.lwjgl.opengl.GL11.glGenTextures(GL11.java:943)
   at tools.TextureLoader.createTextureID(TextureLoader.java:78)
   at tools.TextureLoader.getTexture(TextureLoader.java:128)
   at tools.TextureLoader.getTexture(TextureLoader.java:96)
   at twister2.TextTranslator.<init>(TextTranslator.java:36)
   at twister2.Twister2.begin(Twister2.java:121)
   at twister2.Twister2.main(Twister2.java:111)
   ... 11 more

Any ideas?
Title: Texture loading issues on linux now
Post by: elias4444 on December 27, 2004, 17:20:35
Never mind... it appears to be caused by a silly linux-nvidia driver issue.  :cry: