-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
osx library not loaded #1
Comments
I'm sorry I didn't notice your message till today. I tried to reproduce the problem but couldn't. |
I get a similar error.
I'm on OSX 10.12.6 with OF 0.10.0 in voce 9.2 beta. seems to me some dylib needs to be linked and automatically included in to the compiled app. |
https://github.com/2bbb/ofxNDI/tree/48616bf6a51dd1abfe2a30608390b95dc97e5132 How does it go if following the readme of this fork? |
yeah that made the app run. |
@UnivateBV |
Perfect, it is working now. Big thanks! |
Thanks to @2bbb ! |
Hi i tried your addon but i cant get it running on osx. It compiles fine but it is missing the library when i try to run.
dyld: Library not loaded: @rpath/libndi.3.dylib
I tried to add it to the run script with:
copy libndi.3.dylib to package target directory so self contained
cp -f ../../../addons/ofxNDI/libs/NDI/lib/osx/libndi.3.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/libndi.3.dylib";
Optional - seems to work with or without it - change orig path of @executable_path/libndi.3.dylib to target directory
install_name_tool -change ./libndi.3.dylib @executable_path/libndi.3.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/$PRODUCT_NAME";
but still not working. Can you give me a hint?
Thanks in advance
The text was updated successfully, but these errors were encountered: