rosado/clj-processing — Issue #9: OpenGL Support
Author: samaaron
Created: 2012-02-14 09:21:56+00:00
State: open

I've not been able to get the OpenGL support working - what did you mean by "run ant" in the Readme?

I've tried adding all the extra Processing jars to the Classpath and adding the dynamic lib dir to the java.library.path but I just get:

`Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: Could not initialize class com.sun.opengl.impl.macosx.MacOSXGLDrawableFactory`

Perhaps this is just Mac specific?

Anyway, it would be good to get OpenGL support out of the box. The new native lib support in lein should make it possible to handle it all with lein and maven rather than having to handcode extra JVM params. I just need to get it running manually and locally first.

I'm happy to put the work into the lein part. I've already been hacking on Processing quite a bit: https://github.com/samaaron/clj-processing/commits/docstrings (which may or may not be to your liking) whilst working through the Generative Art book: https://github.com/samaaron/gen-art