You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have already installed the SDK with Homebrew (followed the instructions here)
Using the latest version v0.2.2
Running on apple silicon mac with macOS Monterey version 12.3
The text was updated successfully, but these errors were encountered:
ananthsuresh
changed the title
Cannot find SDK when attempting to run app on Mac
Wooting Analog SDK failed to initialize when attempting to run app on Mac
Nov 3, 2022
ananth@Ananths-MBP 0.7.0 % RUST_LOG="debug" /Applications/wooting-analog-midi.app/Contents/MacOS/wooting-analog-midi
[2022-11-03T00:30:17Z INFO wooting_analog_midi_core] Starting Wooting Analog SDK!
Unable to load library: libwooting_analog_sdk.dylib
Err: dlopen(libwooting_analog_sdk.dylib, 0x0002): tried: 'libwooting_analog_sdk.dylib' (no such file), '/usr/local/lib/libwooting_analog_sdk.dylib' (no such file), '/usr/lib/libwooting_analog_sdk.dylib' (no such file), '/opt/homebrew/Cellar/wooting-analog-sdk/0.7.0/libwooting_analog_sdk.dylib' (no such file)
[2022-11-03T00:30:17Z ERROR wooting_analog_midi] Wooting Analog SDK Failed to initialise.
Please make sure you have all the dependencies installed correctly including the Analog SDK!
thread 'main' panicked at 'Wooting Analog SDK Failed to initialise', src/main.rs:428:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
It looks like the path it's looking for the dylib file is /opt/homebrew/Cellar/wooting-analog-sdk/0.7.0/libwooting_analog_sdk.dylib but Homebrew seems to have installed it for me in /opt/homebrew/Cellar/wooting-analog-sdk/0.7.0/lib/libwooting_analog_sdk.dylib
I copied both the lib and share directories that were in /opt/homebrew/Cellar/wooting-analog-sdk/0.7.0/ into usr/local and that seemed to do the trick.
Feels like this should work out of the box - is there perhaps a step I missed with the homebrew installation to set an environment variable or something like that?
I have already installed the SDK with Homebrew (followed the instructions here)
Using the latest version v0.2.2
Running on apple silicon mac with macOS Monterey version 12.3
The text was updated successfully, but these errors were encountered: