elk-audio / sushi

Elk Audio OS Plugin host and DAW
Other
119 stars 15 forks source link

macOS Library Loading Errors #9

Closed razerbeans closed 4 months ago

razerbeans commented 8 months ago

Hey there,

I'm seeing failures when attempting to run the example command provided in the README on a macOS system with an M1 Pro chip. Here's what I'm seeing:

./sushi --coreaudio -c config_files/play_brickworks_synth.json
dyld[67236]: Library not loaded: @rpath/libtwine.0.4.dylib
  Referenced from: <C7974C0F-623A-375D-9770-BAEEA618BCBC> /Users/razerbeans/Downloads/sushi 2/sushi
  Reason: tried: '/Users/elk_dev/stez/sushi/build-sushi-release-1.1.0/twine/Release/libtwine.0.4.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/elk_dev/stez/sushi/build-sushi-release-1.1.0/twine/Release/libtwine.0.4.dylib' (no such file), '/Users/elk_dev/stez/sushi/build-sushi-release-1.1.0/twine/Release/libtwine.0.4.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/elk_dev/stez/sushi/build-sushi-release-1.1.0/twine/Release/libtwine.0.4.dylib' (no such file), '/usr/lib/libtwine.0.4.dylib' (no such file, not in dyld cache)
[1]    67236 abort      ./sushi --coreaudio -c config_files/play_brickworks_synth.json

Seems like there's a dependency unmet in terms of libraries, but I didn't see libtwine called out as a requisite when following documentation. Am I doing it wrong?

yashpatel21 commented 5 months ago

same problem as above, would like to request some help regarding this matter.

stez-mind commented 5 months ago

Thanks for pointing this out, it looks like a missing dep in the build, will look into that the next days.

stez-mind commented 5 months ago

I have uploaded a new ARM64 binary that should fix the issue, please let me know if it works for you

(the x86 builds were not affected it seems)

Enver-Yilmaz commented 5 months ago

Tested on my Apple silicon Macbook without Rosetta2 and I heard the synth sound with follownig prompt

./sushi --coreaudio -c config_files/play_brickworks_synth.json
SUSHI - Copyright 2017-2023 Elk Audio AB, Stockholm
SUSHI is licensed under the Affero GPL 3.0. Source code is available at github.com/elk-audio

and the version is

./sushi -v

Version 1.1.0
Build options enabled: vst2, vst3, rpc control, ableton link
Audio buffer size in frames: 64
Git commit: a265ee82156d96b9cfa06948836d40e4f03bb3f2
Built on: 2024-04-30 16:43