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 › openGL weirdness in ubuntu9.0.4 / processing1.0.7
Page Index Toggle Pages: 1
openGL weirdness in ubuntu9.0.4 / processing1.0.7 (Read 1352 times)
openGL weirdness in ubuntu9.0.4 / processing1.0.7
Oct 7th, 2009, 5:33am
 
hej all,
i am trying to migrate a project to a linux machine (an acer aspire 1680 running ubuntu 9.04)
in processing 1.0.7 i can't run the openGL examples??
i get this error, when running the Esfera sketch unchanged:
Quote:
Exception in thread "Animation Thread" java.lang.RuntimeException: You need to use "Import Library" to add processing.opengl.PGraphicsOpenGL to your sketch.
     at processing.core.PApplet.makeGraphics(PApplet.java:1192)
     at processing.core.PApplet.size(PApplet.java:998)
     at processing.core.PApplet.size(PApplet.java:958)
     at Esfera.setup(Esfera.java:38)
     at processing.core.PApplet.handleDraw(PApplet.java:1402)
     at processing.core.PApplet.run(PApplet.java:1327)
     at java.lang.Thread.run(Thread.java:619)

i have installed sun-java6-jdk and libjogl-java ver 1.1.1
what am i doing wrong?
thanks,
/j

ok, weirdest thing i just realized: i tried installing processing 1.0.7 on my eee900, also running ubuntu 9.04 and i get the same error... but on this machine i also have ubuntu 1.0.3 installed and here it works just fine???
Re: openGL weirdness in ubuntu9.0.4 / processing1.0.7
Reply #1 - Oct 8th, 2009, 8:05am
 
same problem here:
http://processing.org/discourse/yabb2/num_1253482788.html

i installed new processing 1.0.7 on new ubuntu 9.0.4 on new (acer aspire!) laptop on tuesday but don't think i've actually run any sketches on it yet. will try tonight and see how it goes.

http://processing.org/learning/libraries/esfera.html (for reference later)
Re: openGL weirdness in ubuntu9.0.4 / processing1.0.7
Reply #2 - Oct 8th, 2009, 2:48pm
 
works fine here.

am using sun java, not the ubuntu one.  and 32 bit ubuntu.

five:koogy> uname -a
Linux five 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux

five:koogy> java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)

five:koogy> locate jogl
/opt/processing-1.0.7/libraries/opengl/jogl-src.zip
/opt/processing-1.0.7/libraries/opengl/library/jogl-natives-linux-amd64.jar
/opt/processing-1.0.7/libraries/opengl/library/jogl-natives-linux-i586.jar
/opt/processing-1.0.7/libraries/opengl/library/jogl-natives-macosx-ppc.jar
/opt/processing-1.0.7/libraries/opengl/library/jogl-natives-macosx-universal.jar

/opt/processing-1.0.7/libraries/opengl/library/jogl-natives-windows-amd64.jar
/opt/processing-1.0.7/libraries/opengl/library/jogl-natives-windows-i586.jar
/opt/processing-1.0.7/libraries/opengl/library/jogl.dll
/opt/processing-1.0.7/libraries/opengl/library/jogl.jar
/opt/processing-1.0.7/libraries/opengl/library/jogl.jar.pack.gz
/opt/processing-1.0.7/libraries/opengl/library/jogl_awt.dll
/opt/processing-1.0.7/libraries/opengl/library/jogl_cg.dll
/opt/processing-1.0.7/libraries/opengl/library/libjogl.jnilib
/opt/processing-1.0.7/libraries/opengl/library/libjogl.so
/opt/processing-1.0.7/libraries/opengl/library/libjogl_awt.jnilib
/opt/processing-1.0.7/libraries/opengl/library/libjogl_awt.so
/opt/processing-1.0.7/libraries/opengl/library/libjogl_cg.jnilib
etc...
Re: openGL weirdness in ubuntu9.0.4 / processing1.0.7
Reply #3 - Oct 10th, 2009, 6:05pm
 
Page Index Toggle Pages: 1