We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › javax.media can't be resolved - Eclipse
Page Index Toggle Pages: 1
javax.media can't be resolved - Eclipse (Read 2627 times)
javax.media can't be resolved - Eclipse
May 25th, 2010, 12:06pm
 
I am trying to create an OpenGL program using Processing through Eclipse. I got the Processing part of it working perfectly fine, but when I try to import the package javax.media.opengl.* I am told that it cannot be resolved. Therefore when I do the following line I am told that the type GL cannot be resolved as a type:

Code:
GL gl = pgl.beginGL();  // always use the GL object returned by beginGL 


I followed this tutorial in order to set up Processing and did everything it said to set up OpenGL, but I still can't quite get it where I need it.
Re: javax.media can't be resolved - Eclipse
Reply #1 - May 25th, 2010, 5:49pm
 
Figured it out! I did not include jogl.jar into my build path. That fixes it.
Page Index Toggle Pages: 1