I am trying to follow the steps in "Making Things See" by Greg Borenstein. http://www.amazon.co.uk/Making-Things-See-Processing-MakerBot/dp/1449307078
And though I have used the Kinect before, I did it using the Windows SDK and not using the OpenNI Library which it suggests. So I uninstalled the SDK and the device drivers as suggested. But am having a hard time getting the OpenNI to work with the examples. When trying to run the c# examples in Processing (http://www.processing.org/download/) I am recieving this error:
UnsatisfiedLinkError: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V
Which has this information:
Can't load SimpleOpenNI library (SimpleOpenNI32) : java.lang.UnsatisfiedLinkError: C:\Users\Ryan\Documents\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI32.dll: Can't find dependent libraries Verify if you installed SimpleOpenNI correctly. http://code.google.com/p/simple-openni/wiki/Installation Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V at SimpleOpenNI.SimpleOpenNIJNI.swig_module_init(Native Method) at SimpleOpenNI.SimpleOpenNIJNI.(SimpleOpenNIJNI.java:1575) at SimpleOpenNI.ContextWrapper.(ContextWrapper.java:54) at SimpleOpenNI.SimpleOpenNI.(SimpleOpenNI.java:212) at DepthImage.setup(DepthImage.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:662)
and having searched the internet a few times I have yet to find a solution to this problem. I have seen it suggested that I simply needed to reboot windows here: http://code.google.com/p/simple-openni/issues/detail?id=27 Though having tried this twice I still have the error.
Note: I would rather use Windows Visual Studio than Processing though am not sure how to import the library, or if I should just reference it. I am quite used to coding and developing but not so much using libraries such as this.