Login  Register

Re: Error mapping GL4bc

Posted by petr on Mar 06, 2018; 8:33pm
URL: https://forum.jogamp.org/Error-mapping-GL4bc-tp4038221p4038714.html

Thank you for GLContextImpl.class at https://jogamp.org/bugzilla/show_bug.cgi?id=1357#c5, Giuseppe and Julien.
----------------------
FAILURE FROM IDE:
Exception in thread "AWT-EventQueue-0" java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc !!! not mapped
...
----------------------
SOLUTION:
(1.) I replaced GLContextImpl.class in:
Binary file /opt/java/jogamp-all-platforms/jar/jogl-all-mobile.jar
Binary file /opt/java/jogamp-all-platforms/jar/jogl-all-android.jar
Binary file /opt/java/jogamp-all-platforms/jar/jogl-all.jar
Binary file /opt/java/jogamp-all-platforms/jar/atomic/jogl.jar
Binary file /opt/java/jogamp-all-platforms/jar/jogl-all-noawt.jar
+
(2.) per https://jogamp.org/bugzilla/show_bug.cgi?id=1357#c5 I added few characters into GLContextImpl.java in /opt/java/jogamp-all-platforms/jogl-java-src.zip

The file in question is located in .jar(s) always here /jogamp/opengl/GLContextImpl.class, in .zip here /jogamp/opengl/GLContextImpl.java resp. And it works then. Thank you!