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 problem in debian
Page Index Toggle Pages: 1
opengl problem in debian (Read 978 times)
opengl problem in debian
Feb 1st, 2010, 6:08pm
 
hello i am running processing from a debian sid.. using an ATI RS780M/RS780MN [Radeon HD 3200 Graphic]
with a fglrx driver

i get this problem::

java: ../../src/xcb_io.c:549: _XRead: La declaración `dpy->xcb->reply_data != ((void *)0)' no se cumple.
Re: opengl problem in debian
Reply #1 - Feb 21st, 2010, 7:20pm
 
Thats a very generic description of the problem. Its like saying its cold in the North Pole.  I also am having problems with Processing on Debain and am very interested in figuring out to work through them.

What version of Debian are you using?

Im using 64-bit Lenny

Im not very good at this Java thing yet maybe this will be how I can learn.
Re: opengl problem in debian
Reply #2 - Feb 21st, 2010, 9:26pm
 
I was going to start a thread about this any way so I will just post what I find here.

Running this piece of code from terminal(as an exported linux application:

import processing.opengl.*;


size( 300,300,OPENGL );
background(0);

translate(width/2,height/2);
sphere(30);


I receive this error

Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: /home/brokenjames/sketchbook/OPENGL_yourGoingTFW/application.linux/libgluegen-rt
.so: /home/brokenjames/sketchbook/OPENGL_yourGoingTFW/application.linux/libgluegen-rt
.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
     at java.lang.ClassLoader$NativeLibrary.load(Native Method)
     at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
     at java.lang.Runtime.loadLibrary0(Runtime.java:823)
     at java.lang.System.loadLibrary(System.java:1030)
     at com.sun.gluegen.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java
:102)
     at com.sun.gluegen.runtime.NativeLibLoader.access$000(NativeLibLoader.java:51)
     at com.sun.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:70)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sun.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:68)
     at com.sun.gluegen.runtime.NativeLibrary.ensureNativeLibLoaded(NativeLibrary.java:3
99)
     at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:163)
     at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:129)
     at com.sun.opengl.impl.x11.DRIHack.begin(DRIHack.java:109)
     at com.sun.opengl.impl.x11.X11GLDrawableFactory.<clinit>(X11GLDrawableFactory.java:
99)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:169)
     at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:111)
     at processing.opengl.PGraphicsOpenGL.allocate(PGraphicsOpenGL.java:173)
     at processing.core.PGraphics3D.setSize(PGraphics3D.java:316)
     at processing.core.PApplet.makeGraphics(PApplet.java:1164)
     at processing.core.PApplet.size(PApplet.java:998)
     at processing.core.PApplet.size(PApplet.java:958)
     at OPENGL_yourGoingTFW.setup(OPENGL_yourGoingTFW.java:22)
     at processing.core.PApplet.handleDraw(PApplet.java:1402)
     at processing.core.PApplet.run(PApplet.java:1327)
     at java.lang.Thread.run(Thread.java:619)



Page Index Toggle Pages: 1