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

(build failing) CLAP arm64 SurgeStorage #693

Open
kevleyski opened this issue Aug 1, 2024 · 2 comments
Open

(build failing) CLAP arm64 SurgeStorage #693

kevleyski opened this issue Aug 1, 2024 · 2 comments

Comments

@kevleyski
Copy link

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

kevleyski added a commit to kevleyski/CardinalVCV that referenced this issue Aug 1, 2024
@dromer
Copy link
Collaborator

dromer commented Aug 2, 2024

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

@falkTX
Copy link
Contributor

falkTX commented Sep 21, 2024

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 b5daa7d that might fix this, please test

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

No branches or pull requests

3 participants