At first this looks like a duplicate of like 9 other questions, but mine is actually unique. And no amount of answers have fixed it. Working 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 amount of googling has revealed the cause. I have followed several tutorials to the letter. The natives folder IS PROPERLY SET UP. Yes I still get this bug! Sooo frustrating!
I had the same issue today when trying to run a Slick2D application. The issue came up, I think, because I used two different versions of LWJGL. Using Maven, Slick2D came with a dependency to LWJGL 2.9.1 while the natives I provided already came from 3.0. So I downloaded the 2.9.1 natives which solved the issue for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With