So I headed for JOGL:
Followed the instructions by the ever helpful xranby here:
http://www.raspberrypi.org/phpBB3/viewt ... 35#p238135
Got the -Djava.library.path=/usr/lib/arm-linux-gnueabihf by editing the processing startup shell script
Got this setting which I saw in xranby's examples into the execution of a Processing sketch by editing the Processing preferences.txt
run.options=-Dnativewindows.ws.name=jogamp.newt.driver.bcm.vc.iv
Used System.getProperties in a println to make sure they were set inside the executing sketch
Downloaded the JOGL implementation, unzipped and copied the files into processing/core/library:
gluegen-rt.jar, gluegen-rt-natives-linux-armv6hf.jar, jogl-all.jar, jogl-all-natives-linux-armv6hf.jar
Fired up the MoveEye sample and got the following error:
Code: Select all
Exception in thread "Animation Thread" java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Native windowing type jogamp.newt.driver.bcm.vc.iv (custom) not yet supported, platform reported native windowing type: .bcm.vc.iv
at jogamp.nativewindow.NativeWindowFactoryImpl.getAWTNativeWindow(NativeWindowFactoryImpl.java:99)
at jogamp.nativewindow.NativeWindowFactoryImpl.getNativeWindowImpl(NativeWindowFactoryImpl.java:65)
at javax.media.nativewindow.NativeWindowFactory.getNativeWindow(NativeWindowFactory.java:486)
at jogamp.newt.awt.NewtFactoryAWT.getNativeWindow(NewtFactoryAWT.java:70)
at com.jogamp.newt.awt.NewtCanvasAWT.reparentWindow(NewtCanvasAWT.java:428)
at com.jogamp.newt.awt.NewtCanvasAWT.addNotify(NewtCanvasAWT.java:391)
at java.awt.Container.addImpl(Container.java:1114)
at java.awt.Container.add(Container.java:966)
at processing.opengl.PGL.initSurface(PGL.java:606)
at processing.opengl.PGraphicsOpenGL.initPrimary(PGraphicsOpenGL.java:5735)
at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:1568)
at processing.core.PApplet.run(PApplet.java:2020)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.IllegalArgumentException: Native windowing type jogamp.newt.driver.bcm.vc.iv (custom) not yet supported, platform reported native windowing type: .bcm.vc.iv
at jogamp.nativewindow.NativeWindowFactoryImpl.getAWTNativeWindow(NativeWindowFactoryImpl.java:92)
... 12 more
BCM.Display initIDs ok
BCM.Screen initIDs ok
BCM.Window initIDs ok
Any other suggestions?
Maybe I have to put some other libraries where Processing will find them?
If so which ones?