compile error:cannot access WriteCloneable using jogl library

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

compile error:cannot access WriteCloneable using jogl library

Joseph-mi-Altfeld
Hellow everyone. This is my first post.
I downloaded jogamp-all-platform.7z from jogamp.org and extract and decompressed it
and copy a sample program got form internet.
and when try to compile compiler shows message "cannot accees WriteCloneable"
sample program is as follows

mport com.jogamp.opengl.GL;
import com.jogamp.opengl.GLAutoDrawable;
import com.jogamp.opengl.GLCapabilities;
import com.jogamp.opengl.GLEventListener;
import com.jogamp.opengl.GLProfile;
import com.jogamp.newt.event.WindowAdapter;
import com.jogamp.newt.event.WindowEvent;
import com.jogamp.newt.opengl.GLWindow;
import com.jogamp.opengl.util.Animator;

public class FirstStepNewt implements GLEventListener { //(1)
       
        public static void main(String[] args) {
                new FirstStepNewt();
        }
       
        public FirstStepNewt() {
                GLCapabilities caps = new GLCapabilities(GLProfile.get(GLProfile.GL2));//(2)
                GLWindow glWindow = GLWindow.create(caps); //(3)
....

error occur at GLWindow.create(caps)

My OS is Wndows10 and command line is
"\Program Files\java\jdk1.8.0_71\bin\javac" -classpath .;"..\jogamp-all-platforms\jar\glugen-rt.jar;..\jogamp-all-platforms\jar\jogl-all.jar" %1

My directiory structure is

+---joamp-all-patforms--jar
|
+--jogltest     <- directory where sample program lies

does anyone know cause of error?
Thank you
thank you
Reply | Threaded
Open this post in threaded view
|

Re: compile error:cannot access WriteCloneable using jogl library

gouessej
Administrator
You misspelled the name of GlueGen JAR. gluegen-rt.jar
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: compile error:cannot access WriteCloneable using jogl library

Joseph-mi-Altfeld
Oh its my basic mistake!
Thank you for pointing out my mistake.
Reply | Threaded
Open this post in threaded view
|

Re: compile error:cannot access WriteCloneable using jogl library

gouessej
Administrator
You're welcome. Thank you for your feedback.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: compile error:cannot access WriteCloneable using jogl library

Sven Gothel
Administrator
In reply to this post by gouessej
gouessej wrote
You misspelled the name of GlueGen JAR. gluegen-rt.jar
Julien, you won the price for having the sharpest eyes .. I was like .. wtf? :))
Good catch.
Reply | Threaded
Open this post in threaded view
|

Re: compile error:cannot access WriteCloneable using jogl library

gouessej
Administrator
Thanks, it's useful in some situations... if you see what I mean :)
Julien Gouesse | Personal blog | Website