Login  Register

Help with tutorial: GLCapabilities(GLProfile) doesn't exist?

Posted by Robert B on Oct 26, 2010; 3:15pm
URL: https://forum.jogamp.org/Help-with-tutorial-GLCapabilities-GLProfile-doesn-t-exist-tp1774357.html

Hi all,

I'm trying to work through the tutorial at https://sites.google.com/site/justinscsstuff/jogl-tutorial-2 and it specifies this:

        GLProfile.initSingleton();
        GLProfile glp = GLProfile.getDefault();
        GLCapabilities caps = new GLCapabilities(glp);

However, I'm getting an error saying that GLCapabilities(GLProfile) doesn't exist, while the docs here http://jogamp.org/deployment/jogl-next/javadoc_public/ says that such a constructor does exist.

I'm using the macosx build in jogl-b187-2010-09-30 from http://jogamp.org/deployment/autobuilds. Am I using the wrong build?

Any help is appreciated! Thanks,

--Rob