0

I get a compilation failure when trying to compile code that uses WorldWind for dependencies. Here is a screenshot enter image description here

I tried downgrading JOGL, but that did not work. I cannot directly change the format to what works now because the file it is in is an external JAR file that I imported (NASA WorldWind)

Thanks

rkp
  • 1
  • 2
  • The version of NASA Worldwind you use relies on a very old version of JOGL and you probably tried to compile your source code against a more recent version of JOGL in which javax.media no longer exists for legal reasons. Either use the same old version of JOGL than NASA Worldwind or modify and recompile NASA Worldwind with the most recent version of JOGL. By the way, rather ask JOGL specific questions on the official JogAmp forum. – gouessej May 10 '19 at 15:26
  • @gouessej I used the JOGL that was included with WorldWind, though? – rkp May 10 '19 at 15:31
  • Then use the right package for GLCanvas: http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/opengl/awt/GLCanvas.html – gouessej May 12 '19 at 07:07
  • @gouessej I figured it out. It's referencing javax.media.opengl.GLCanvas rather than javax.media.opengl.awt.GLCanvas, but I'm not sure how to fix it – rkp May 12 '19 at 16:28
  • NASA Worldwind still uses an obsolete version of JOGL then :( Which version of NASA Worldwind do you use? – gouessej May 13 '19 at 18:08

0 Answers0