帮忙看看这是为什么,谢谢

Started by Dragonfly, October 09, 2015, 07:03:36

Previous topic - Next topic

Dragonfly

大家好,
我们语è¨â,¬Ã¥Â¥Â½Ã¥Æ'ä¸å¤ªéâ,¬Å¡Ã¦Ë†â€˜Ã§â€ºÂ´Ã¦Å½Â¥Ã¤Â¸Å Ã¤Â»Â£Ã§Â ÂÃ¥ÂÂ§:
package test.EGL;
import org.lwjgl.egl.*;
public class EGLTest {
   public static void main(String[]args){
      long display = EGL10.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY);
      if(display !=EGL10.EGL_NO_DISPLAY){
         System.out.println("HOHO");
      }
   }
}
----------------------------------------------------
Exception in thread "main" java.lang.ExceptionInInitializerError
   at org.lwjgl.egl.EGL10.getInstance(EGL10.java:147)
   at org.lwjgl.egl.EGL10.eglGetDisplay(EGL10.java:388)
   at test.EGL.EGLTest.main(EGLTest.java:11)
Caused by: java.lang.RuntimeException: Failed to load library: libEGL.dll (error code = 126)
   at org.lwjgl.system.windows.WindowsUtil.windowsThrowException(WindowsUtil.java:28)
   at org.lwjgl.system.windows.WindowsLibrary.<init>(WindowsLibrary.java:33)
   at org.lwjgl.system.APIUtil.apiCreateLibrary(APIUtil.java:54)
   at org.lwjgl.LWJGLUtil.loadLibraryNative(LWJGLUtil.java:200)
   at org.lwjgl.egl.EGL.create(EGL.java:79)
   at org.lwjgl.egl.EGL.create(EGL.java:70)
   at org.lwjgl.egl.EGL.<clinit>(EGL.java:50)
   ... 3 more
-----------------------------------------------------------------------
使用的是LWJGL3.0.0b
Ã¥Å"¨è¿â,,¢Ã©â€¡Å'谢谢各位了^_^

spasi