Login  Register

Re: small drawing

Posted by Keith Willenson on Jul 08, 2016; 2:51pm
URL: https://forum.jogamp.org/small-drawing-tp4036875p4036894.html

I copied the file in the link into com/ardor3d/framework/jogl. I also needed to copy DisplaySettings.java into the same directory. (unimportant: clicking on the link did not work, cutting and pasting the link did)

When I try to compile I get the following error:

 C:\Users\Keith\git\land-mentor\land-mentor\src\com\ardor3d\framework\jogl\JoglNewtWindow.java:346: error: cannot access GLContext
       [javac]             _canvasRenderer.setContext(getContext());
       [javac]                            ^
       [javac]   class file for javax.media.opengl.GLContext not found

which baffles me since GLContext is imported as
import com.jogamp.opengl.GLContext;

moving glugen-rt.jar and jogl-all.jar above or below the ardor-*SNAPSHOT.jar does not seem to affect anything.