Re: Leopard: Profile GL_DEFAULT is not available on null, but: []
Posted by
Sven Gothel on
Dec 16, 2011; 12:07pm
URL: https://forum.jogamp.org/Leopard-Profile-GL-DEFAULT-is-not-available-on-null-but-tp3587916p3591440.html
On Thursday, December 15, 2011 11:53:46 AM Loicus [via jogamp] wrote:
>
> the use made a try with the following code:
> GLProfile glp = GLProfile.get(GLProfile.GL2);
> instead of
> GLProfile glp = GLProfile.getDefault();
>
> but he gots the following Exception:
> javax.media.opengl.GLException: Profile GL2 is not available on null, but:
> []
> at javax.media.opengl.GLProfile.get(GLProfile.java:643)
> at javax.media.opengl.GLProfile.get(GLProfile.java:656)
> ....
>
> how it possible that no GL2 profile is available?
>
Can you try etc/test.sh and etc/test_dbg.sh and send the log files ?
http://jogamp.org/deployment/archive/master/gluegen_457-joal_251-jogl_584-jocl_499/archive/
(-> FAQ/Bugreport-Testing ..)
The new builds contain some fixes in the initialization sequence.
But even if the tests fail on your platform, the debug logs may tell us whats going wrong.
In case the tests work fine, but your code fails - pls create a unit test for us to analyse.
~Sven
> Loic,