Login  Register

Re: JOGL tutorial is extraordinarily confusing. Here's why.

Posted by andreasdr on Jan 11, 2014; 10:58am
URL: https://forum.jogamp.org/JOGL-tutorial-is-extraordinarily-confusing-Here-s-why-tp4031149p4031161.html

Sven Gothel wrote
Why do you use this version ?

> http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/ to the folder "JOGL"

AFAIK our deployment/download page and build/version page
does describe whats best to use ..

Look at the date of v2.0-rc5 !

Right now, I recommend 2.1.4-RC, or use the 2.1.3 release.

~Sven
The reason to use that version was just desperation to hang on to whatever I found to work :).

I just realized that you're right that the page http://jogamp.org/wiki/index.php/Downloading_and_installing_JOGL contains correct information. I.e. the files listed under "Unzipping the files" are really the correct files to be included from the .7z-file. Doing that and following the tutorial meant that I could compile the triangle example. A message in red font showed up in the console, however, which I don't know what to make of. Note that the execution of the applet wasn't stopped:


FPSAnimator P1:Thread[thread applet-triangleexample.OneTriangleAWTApplet.class-FPSAWTAnimator-Timer0,4,file:/C:/Users/andreasdr/Dropbox/Programming/Java/workspaceeclipse/TriangleExample/bin/-threadGroup]: Task[thread Thread[thread applet-triangleexample.OneTriangleAWTApplet.class-FPSAWTAnimator-Timer0,4,file:/C:/Users/andreasdr/Dropbox/Programming/Java/workspaceeclipse/TriangleExample/bin/-threadGroup], stopped false, paused false shouldRun true, shouldStop false -- started true, animating true, paused false, drawable 1, drawablesEmpty false]

So now the only confusion that remains is the fact that the tutorial in http://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE refers to jogl-all.jar in three different ways: "jogl.all.jar" (in the screenshots), "jogl.jar" (in the bullet point saying "Add gluegen-rt.jar and jogl.jar to the project.") and "jogl-all.jar" (in the bullet point saying "Expand the jogl-all and gluegen-rt JARs...")