[solved] can't create GL3 and GL4 context
Posted by
DoS on
Dec 22, 2011; 5:46pm
URL: https://forum.jogamp.org/solved-can-t-create-GL3-and-GL4-context-tp3607097.html
can't create GL3 and GL4 context
i've just downloaded latest JOGL version from JOGAMP.org (amd64 windows)
GLProfile profile = GLProfile.get(GLProfile.GL4);
and
GLProfile profile = GLProfile.get(GLProfile.GL3);
throws the following error:
Exception in thread "main" javax.media.opengl.GLException: Profile GL4 is not available on null, but: [GLProfile[GL2ES2/GL2], GLProfile[GL2ES1/GL2], GLProfile[GL2/GL2], GLProfile[GL2/GL2], GLProfile[GL2GL3/GL2]]
at javax.media.opengl.GLProfile.get(GLProfile.java:655)
at javax.media.opengl.GLProfile.get(GLProfile.java:668)
at de.schabby.jogl.helloworld.HelloWorld.main(HelloWorld.java:16)
GLProfile profile = GLProfile.get(GLProfile.GL2); <- works
added jogl.all.jar and gluegen-rt.jar to my project, anything else missing?
System: XPS15 Laptop, i7, 8GB DDR3 Ram, Nvidia gt540m graphics card with latest drivers
EDIT:
as described here:
http://jogamp.org/wiki/index.php/Downloading_and_installing_JOGLi also tried to use the latest builds, didn't work