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

macOS 10.15 and OF 0.11 compile error #58

Open
stephanschulz opened this issue Mar 13, 2020 · 8 comments
Open

macOS 10.15 and OF 0.11 compile error #58

stephanschulz opened this issue Mar 13, 2020 · 8 comments
Assignees
Labels

Comments

@stephanschulz
Copy link

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

@bangnoise
Copy link
Owner

Working here with OF 0.11. That's an unusual error. Did you git clone the repo or download it? macOS and Xcode versions?

@stephanschulz
Copy link
Author

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

@bangnoise
Copy link
Owner

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.

@stephanschulz
Copy link
Author

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

@bangnoise bangnoise self-assigned this Mar 15, 2020
@bangnoise bangnoise added the bug label Mar 15, 2020
@stephanschulz
Copy link
Author

FYI, it works fine on Mojave, Xcode 10.3 and OF 0.11

@ThomasLengeling
Copy link

I solved it by copping the dylib files from ffmpeg/lib/osx to /usr/local/lib and it worked

@stephanschulz
Copy link
Author

it also seems to work after following this suggestion:
#27 (comment)

@stephanschulz
Copy link
Author

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.

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

No branches or pull requests

3 participants