Open kevleyski opened 3 months ago
How are you building the plugin on your system?
Maybe look at the macOS specific prerequisites for the CI builds: https://github.com/DISTRHO/Cardinal/blob/main/.github/workflows/build.yml#L159-L208
This is likely due to differences in base macOS system used for the build, and the cmake flags passed into surge.
Cardinal builds target 10.15 as the minimum version, but this is not the default on cmake when doing regular builds. I just added b5daa7dfa1f3d379bad12ec665af5dee99e309b0 that might fix this, please test
Version
24.05
Plugin type
CLAP
OS
macOS Sonoma 14.3 M3
DAW / Host (if applicable)
No response
Description
Creating CLAP plugin for Cardinal ld: warning: ignoring duplicate libraries: '-lm', '-lsndfile' Undefined symbols for architecture arm64: "surgextghc::filesystem::is_directory(surgextghc::filesystem::path const&)", referenced from: Surge::Storage::FxUserPreset::doPresetRescan(SurgeStorage, bool) in libsurge-common.a3 Surge::Storage::FxUserPreset::doPresetRescan(SurgeStorage, bool) in libsurge-common.a3 SurgeStorage::SurgeStorage(SurgeStorage::SurgeStorageConfig const&) in libsurge-common.a15 SurgeStorage::createUserDirectory() in libsurge-common.a15 SurgeStorage::refresh_wtlist() in libsurge-common.a15