ofxkinect wrong architecture
in
Contributed Library Questions
•
11 months ago
I just installed Processing on my computer and am now trying to use ofxkinect, in particular Dan Shiffman's Average Point Tracking. I am running osx10.8.2 on a brand new macbookpro. When I run the example I get this error:
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: /Users/marielepichon/Documents/Processing/libraries/openkinect/library/libKinect.jnilib: no suitable image found. Did find: /Users/marielepichon/Documents/Processing/libraries/openkinect/library/libKinect.jnilib: mach-o, but wrong architecture
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 org.openkinect.Context.<clinit>(Context.java:43)
at org.openkinect.processing.Kinect.start(Kinect.java:43)
at org.openkinect.processing.Kinect.start(Kinect.java:39)
at AveragePointTracking$KinectTracker.<init>(AveragePointTracking.java:111)
at AveragePointTracking.setup(AveragePointTracking.java:41)
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've seen this question asked in relation to something called Eclipse but that's not what I'm using. Before using Processing, I was using the kinect with openFrameworks and it was a huge process to just get a project to build, but it did include having to change the architecture/valid architecture in the build settings (changed valid architecture to $(ARCHS_STANDARD_32_BIT) and architecture to $(NATIVE_ARCH). I don't know how to make any of those changes in Processing though or if it's even relevant to the error I am getting in Processing. I would appreciate any help as I am completely out of ideas.
Marie
1