ofxHapPlayer
ofxHapPlayer copied to clipboard
macOS 10.15 and OF 0.11 compile error
Showing Recent Issues : File too small (length=0) file '../../../addons/ofxHapPlayer/libs/ffmpeg/lib/osx/libavutil.55.dylib' for architecture x86_64
![Screen Shot 2020-03-13 at 10 18 45 AM](https://user-images.githubusercontent.com/1054816/76629074-21db6880-6514-11ea-9911-be95fda164fd.png)
Working here with OF 0.11. That's an unusual error. Did you git clone
the repo or download it? macOS and Xcode versions?
Xcode 11.3.1 macOS 10.15.? it a remote machine so that I can only VNC to. I downloaded the addon from GitHub as .zip file
It works from download here. Can you try the download again, or try doing a git clone? Are you using the Finder to unzip it? libavutil.55.dylib should be a link to libavutil.55.34.101.dylib.
after download the zip is automatically unzipped. I then place the addon in the addon folder.
with a freshly .zip download from GitHub I get this error about libavutil.55.34.101.dylib not coming from an unverified developer. the options are to place it in trash or cancel operation.
![Screen Shot 2020-03-14 at 12 02 44 PM](https://user-images.githubusercontent.com/1054816/76685711-4145c480-65ec-11ea-80ca-028517faf6dd.png)
FYI, it works fine on Mojave, Xcode 10.3 and OF 0.11
I solved it by copping the dylib files from ffmpeg/lib/osx to /usr/local/lib and it worked
it also seems to work after following this suggestion: https://github.com/bangnoise/ofxHapPlayer/issues/27#issuecomment-290357615
I currently had a problem with the above solution when using macOS 10.15.7, OF 0.11.0, Xcode 12.4
Thanks to this video have I learned how to take files out of "quarantine".
I ran these two commands in the terminal:
sudo xattr -dr com.apple.quarantine /Applications/of_v0.11.0_osx_release/addons/ofxHapPlayer/libs/ffmpeg/lib/osx/lib**
sudo xattr -dr com.apple.quarantine /Applications/of_v0.11.0_osx_release/addons/ofxHapPlayer/libs/snappy/lib/osx/lib**
After that I ran compile again and the app runs fine.