java - LWJGL wglGetCurrentContext exception -


i starting learn lwjgl, i'm having problem it. error line glcontext.createfromcurrent(); , can't figure out how fix it. first step using lwjgl wrote own code creating display, error popped up. later copied demonstration code lwjgl web page, have same error. , full error is:

hello lwjgl 3.0.0a! exception in thread "main" java.lang.unsatisfiedlinkerror: org.lwjgl.opengl.wgl.wglgetcurrentcontext()j     @ org.lwjgl.opengl.wgl.wglgetcurrentcontext(native method)     @ org.lwjgl.opengl.glcontextwindows.createfromcurrent(glcontextwindows.java:59)     @ org.lwjgl.opengl.glcontext.createfromcurrent(glcontext.java:36)     @ main.loop(main.java:97)     @ main.run(main.java:26)     @ main.main(main.java:117) 

as left out interesting half of exception message guess didn't set path lwjgl right:

system.setproperty("org.lwjgl.librarypath", new file("pathtonatives").getabsolutepath()); 

for further reference see here


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -