Exception in thread "main" java.lang.UnsatisfiedLinkError: org.lwjgl.DefaultSysImplementation.getPointerSize () I

At first it looks like a duplicate, as well as 9 other questions, but mine is really unique. And no answers have been fixed. Work with JLWGL.

Exception in thread "main" java.lang.UnsatisfiedLinkError: org.lwjgl.DefaultSysImplementation.getPointerSize()I at org.lwjgl.DefaultSysImplementation.getPointerSize(Native Method) at org.lwjgl.Sys.<clinit>(Sys.java:113) at org.lwjgl.opengl.Display.<clinit>(Display.java:135) at renderEngine.DisplayManager.createDisplay(DisplayManager.java:30) at engineTester.MainGameLoop.main(MainGameLoop.java:11) 

No number of searches revealed the reason. I followed several textbooks for writing. In the folder of indigenous places CORRECTLY SETTING. Yes, I still get this error! Sooo is disappointing!

+5
source share
4 answers

I had the same problem today when trying to launch the Slick2D application. I think the problem arose because I used two different versions of LWJGL. Using Maven, Slick2D came addicted to LWJGL 2.9.1, while the natives I provided already came from 3.0. So I downloaded 2,9,1 natives who solved the problem for me.

+8
source

The problem was resolved by reverting to the latest version of LWJGL 2. The libraries that I used are not yet compatible with LWJGL 3.

+2
source

It seems that the only thing that could be is your natives. You said that the Aboriginal folder was set up correctly: did you really delete and replace all * .dll files?

0
source

I had the same problem and for me it was, I think, just put the .dll files contained in SlickSet native-windows.jar at the root of my project file. ( http://wiki.netbeans.org/SlickSet number 5)

0
source

Source: https://habr.com/ru/post/1208097/


All Articles