You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i don't think the project generator knows how to handle dylibs, so i built a project by hand starting with emptyExample.
i added everything in libs/ and src/ to the project. this automatically adds the source to the compile stage, and adds the dylibs to the linking stage. then i manually add a copy files stage that copies all the dylibs so they're adjacent to the compiled app itself (inside Contents/MacOS/). the build succeeds but when i run the app it says:
dyld: Library not loaded: ../../../Bin/Release/libXnVCNITE_1_4_1.dylib
Referenced from: /Users/kyle/Documents/openFrameworks/addons/ofxOpenNI2/example/bin/emptyExampleDebug.app/Contents/MacOS/emptyExampleDebug
which i'm assuming means it can't find any of the dylibs. i tried a few places for Bin/Release but i'm not really sure where it's referring to.
would it be better to put all the dylibs in /usr/lib/ (like libusb) or is there some other approach i should take?
or is ofxOpenNI2 out of date relative to ofxOpenNI now?
The text was updated successfully, but these errors were encountered:
or whatever path the libraries will be in the bundle.
i haven't updated this in a while though, not sure what's the state of ofxOpenNI. as @elliotwoods suggests in another issue there's already openni 2.0 so probably we should move this addon to use that
i don't think the project generator knows how to handle dylibs, so i built a project by hand starting with emptyExample.
i added everything in libs/ and src/ to the project. this automatically adds the source to the compile stage, and adds the dylibs to the linking stage. then i manually add a copy files stage that copies all the dylibs so they're adjacent to the compiled app itself (inside
Contents/MacOS/
). the build succeeds but when i run the app it says:which i'm assuming means it can't find any of the dylibs. i tried a few places for
Bin/Release
but i'm not really sure where it's referring to.would it be better to put all the dylibs in
/usr/lib/
(like libusb) or is there some other approach i should take?or is ofxOpenNI2 out of date relative to ofxOpenNI now?
The text was updated successfully, but these errors were encountered: