LWJGL
May 21, 2013, 16:54:30 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Help! NoSuchMethodError: getPointer  (Read 3940 times)
Cruithne3753
Newbie
*
Posts: 4


« on: March 21, 2011, 16:39:24 »

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!
Logged
CodeBunny
Nerdus Imperius
*****
Posts: 561



WWW
« Reply #1 on: March 21, 2011, 18:03:06 »

Do you have the correct .dll files?
Logged
Cruithne3753
Newbie
*
Posts: 4


« Reply #2 on: March 23, 2011, 10:29:57 »

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!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!