I am trying to run the examples from the ProControll library and I keep getting this error:
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: /Creative Code/Processing/Sketches/libraries/procontroll/library/libjinput-osx.jnilib: no suitable image found. Did find: /Creative Code/Processing/Sketches/libraries/procontroll/library/libjinput-osx.jnilib: no matching architecture in universal wrapper
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1742)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at net.java.games.input.OSXEnvironmentPlugin.<clinit>(OSXEnvironmentPlugin.java:60)
at net.java.games.input.ControllerEnvironment.getEnvironment(ControllerEnvironment.java:201)
at procontroll.ControllIO.<init>(ControllIO.java:91)
at procontroll.ControllIO.getInstance(ControllIO.java:121)
at procontroll_printDevices.setup(procontroll_printDevices.java:30)
at processing.core.PApplet.handleDraw(PApplet.java:2103)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:680)
I think that it might have something to do with the changes in the new version of processing (Im using 2.0b6) because I have seen a video that shows the library working with an older version of processing: