Skip to content
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

missing libdarknetOSX.dylib #8

Closed
armadillu opened this issue Apr 18, 2017 · 5 comments
Closed

missing libdarknetOSX.dylib #8

armadillu opened this issue Apr 18, 2017 · 5 comments

Comments

@armadillu
Copy link

armadillu commented Apr 18, 2017

Launching DarknetOSC.app from the finder gets me a crash. I thought it was sandbox related, so trying from the command line reveals a missing dylib:

$ ./DarknetOSC.app/Contents/MacOS/DarknetOSC 
dyld: Library not loaded: @rpath/libdarknetOSX.dylib
  Referenced from: /Users/oriol/Desktop/osc-modules/./DarknetOSC.app/Contents/MacOS/DarknetOSC
  Reason: image not found
@genekogan
Copy link
Member

ah yes, sorry we overlooked this. if you place libdarknetOSX.dylib right beside the application, it should find it in the same directory. can you try that?

@armadillu
Copy link
Author

armadillu commented Apr 18, 2017

but its not in the zip?
Trying this one https://github.com/mrzl/ofxDarknet/tree/master/libs/darknet/lib/osx

@genekogan
Copy link
Member

no, it's just with ofxDarknet. we'll modify the release to contain it but i wanted to see first if that at least solves it on your system.

@armadillu
Copy link
Author

Tried in the Contents/Frameworks folder, in the Contents/MacOS folder, and besides the .app package and none work. I think you need to use lipo to set the path for the dylib when you build the binary; like in fmodex.

@genekogan
Copy link
Member

hmmm, it may be hardcoded at the moment. i will check this out in a bit (if you have a quick fix, a PR would be welcome!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants