Closed aperiodic closed 11 years ago
not sure about your error but that sketch runs fine on my macbook pro on 10.6.6
I upgraded to 10.6.6, but I still get this error. Are you using the same versions of Processing and Java as I am?
Mac has always been a bit odd with processing, lets hope fixes for processing-2.0 fix it all, they had better since processing 2.0 P2D and P3D sketches rely on OPENGL. @aperiodic, @thomastraum are you still interested in ruby-processing? If so please try my development version here https://github.com/monkstone/ruby-processing works best with java-1.7+ (to take advantage of invokedynamic jruby).
@aperiodic, @thomastraum please note ruby-processing is now updating to processing-2.0, now available here. Three D render mode now defaults to OPENGL (under the hood).
No-one seems bothered either fixed or can't fix.
I'm trying to use OpenGL in a ruby-processing sketch on OS X 10.6.5, but any sketch that tries to set the render_mode to OpenGL just crashes. For example, trying to run the following sketch: require 'ruby-processing'
produces this stacktrace:
but if I comment out the line that sets the render mode, it works fine.
I'm using ruby-processing 1.0.9, and the opengl java library included with Processing 1.2.1 (the latest version as of 12/28/10). My java -version is:
Thanks for your time!