Help! NoSuchMethodError: getPointer

Started by Cruithne3753, March 21, 2011, 23:39:24

Previous topic - Next topic

Cruithne3753

After spending too much time distracted by MineCraft, I am finally getting round to setting up LWJGL (2.7.1) on my 64bit Win 7 machine...

I managed to get the test examples such as org.lwjgl.test.WindowCreationTest (from here) to run from the command prompt, but I am having a problem with my own stuff brought across from my old machine.

I get the same problem if I compile and run the display example here, I get this error:-


Exception in thread "main" java.lang.NoSuchMethodError: getPointer
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
   at java.lang.Runtime.loadLibrary0(Runtime.java:823)
   at java.lang.System.loadLibrary(System.java:1028)
   at org.lwjgl.Sys$1.run(Sys.java:75)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
   at org.lwjgl.Sys.loadLibrary(Sys.java:84)
   at org.lwjgl.Sys.<clinit>(Sys.java:101)
   at org.lwjgl.opengl.Display.<clinit>(Display.java:103)
   at cruithne3753.testing.DisplayExample.start(DisplayExample.java:13)
   at cruithne3753.testing.DisplayExample.main(DisplayExample.java:33)


Any ideas?

Thanks!

CodeBunny

Do you have the correct .dll files?

Cruithne3753

Oh, right! Got the right path to the dlls now, my own programs run now, I can hear sound effects but the display is blank... needs more head scratching...

Thanks anyway!