i’m working on oF 007, mac OSX 10.6.8, and i’ve been trying to compile the example “openNI-demoAllFeatures”, that comes with the ofxOpenNI addon, but i’m getting the following error on the GDP console:
dyld: Library not loaded: @executable_path/./../../../data/openni/lib/libusb-1.0.0.dylib Referenced from: /Developer/Library/of_preRelease_v007_osx/apps/myapps/openNItest/bin/emptyExampleDebug.app/Contents/MacOS/emptyExampleDebug Reason: no suitable image found. Did find: /usr/local/lib/libusb-1.0.0.dylib: mach-o, but wrong architecture sharedlibrary apply-load-rules all Data Formatters temporarily unavailable, will re-try after a 'continue'. (Cannot call into the loader at present, it is locked.)
i don’t quite understand what’s happening. first of all, i can compile other examples (the basic example of the ofxOpenNI, for instance) that use that same library. googling around, i figured that it might be that the library i have installed in the system (in /usr/local/lib/) might not be properly configured, so i tried to recompile it following the instructions on openKinect (http://openkinect.org/wiki/Getting-Started#Manual-Build-under-OSX), but got same result.
does anyone have a clue?