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
JOGL in linux (Read 396 times)
JOGL in linux
Dec 20th, 2008, 4:09pm
 
Hi,

I try to make the jogl library work on linux (ubuntu 8.04) cause I really need to work in OPENGL.

The last release (processing 1.0.1) I downloaded here on the website didn't came with any installed library.

To get the library, I just took the OPENGL folder from my Windows processing distribution in libraries directory and copied it to linux.

Now, I got a strange error that seems to be due to permission problems. (I've already tried by changing the permission of all the files of the opengl folder to 755. Nothing change !)

the error is the following one :

VerifyError: (class: processing/opengl/PGraphicsOpenGL, method: bindTexture signature: (Lprocessing/core/PImage;)V) Bad access to data

--

Exception in thread "Animation Thread" java.lang.VerifyError: (class: processing/opengl/PGraphicsOpenGL, method: bindTexture signature: (Lprocessing/core/PImage;)V) Bad access to protected data
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.getConstructor(Class.java:1657)
at processing.core.PApplet.makeGraphics(PApplet.java:1142)
at processing.core.PApplet.size(PApplet.java:982)
at processing.core.PApplet.size(PApplet.java:942)
at sketch_dec20a.setup(sketch_dec20a.java:23)
at processing.core.PApplet.handleDraw(PApplet.java:1383)
at processing.core.PApplet.run(PApplet.java:1311)
at java.lang.Thread.run(Thread.java:619)
Re: JOGL in linux
Reply #1 - Dec 20th, 2008, 4:31pm
 
You're trying to run code compiled with an old core.jar on a new version of core.jar. (The bindTexture() method is not publicly available in the newer releases.)
Page Index Toggle Pages: 1