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.
Page Index Toggle Pages: 1
OpenGL in eclipse (Read 434 times)
OpenGL in eclipse
Feb 12th, 2008, 6:59am
 
Hi all,

I'm trying to run the Esfera example sketch from the examples folder, basically trying to get OPENGL to work in eclipse.  When i use P3D it works fine but when I switch to OPENGL I get the following error.

Before using OpenGL, first select Import Library > opengl from the Sketch menu.
at processing.core.PApplet.createGraphics(PApplet.java:1225)
at processing.core.PApplet.size(PApplet.java:1015)

I have the opengl.jar included in my project, thinking I might have to create an instance of it or something so it's actually pulled in.

I'm running jre1.5 on mac pro.

Any help would be great.

cheers!
Re: OpenGL in eclipse
Reply #1 - Feb 12th, 2008, 9:17am
 
to answer my own question.

goto Run...
in Arguments, add this line to VM arguments:

-Djava.library.path="C:\processing\processing-0103-expert\libraries\opengl\libra
ry"

this is a link to the location of the jogl dlls.
Page Index Toggle Pages: 1