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

Hardcoded path to OpenCV on MacOS #111

Open
delehef opened this issue Nov 8, 2024 · 1 comment
Open

Hardcoded path to OpenCV on MacOS #111

delehef opened this issue Nov 8, 2024 · 1 comment
Labels
Bug Something isn't working

Comments

@delehef
Copy link

delehef commented Nov 8, 2024

Logs

StableView 1.1.0 on Apple Silicon (macOS Sequoia)

Describe the bug

StableView fails to load OpenCV:

dyld[4099]: Library not loaded: /opt/homebrew/opt/opencv/lib/libopencv_gapi.409.dylib

Steps to reproduce

  1. Download and launch StableView as specified per the README without having homebrew and OpenCV installed.

References (optional)

No response

Additional info (optional)

No response

Discord Username (optional)

No response

@delehef delehef added the Bug Something isn't working label Nov 8, 2024
@sethlopez
Copy link

I think I'm running into this, as well. I did go ahead and install opencv via homebrew, but I'm still getting the following error output:

dyld[54372]: Library not loaded: /opt/homebrew/opt/opencv/lib/libopencv_gapi.409.dylib
  Referenced from: <398DB383-CBC7-33F4-9593-70294DF20B80> /Users/<user>/Downloads/StableView-1.1.0-arm64-Apple-Silicon/StableView
  Reason: tried: '/opt/homebrew/opt/opencv/lib/libopencv_gapi.409.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/opencv/lib/libopencv_gapi.409.dylib' (no such file), '/opt/homebrew/opt/opencv/lib/libopencv_gapi.409.dylib' (no such file), './libopencv_gapi.409.dylib' (no such file), '/opt/homebrew/Cellar/opencv/4.10.0_14/lib/libopencv_gapi.409.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/opencv/4.10.0_14/lib/libopencv_gapi.409.dylib' (no such file), '/opt/homebrew/Cellar/opencv/4.10.0_14/lib/libopencv_gapi.409.dylib' (no such file), './libopencv_gapi.409.dylib' (no such file)
zsh: abort      DYLD_FALLBACK_LIBRARY_PATH=. ./StableView

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants