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

Linking issue with abl_link~ #2023

Open
bluck101 opened this issue Dec 16, 2024 · 1 comment
Open

Linking issue with abl_link~ #2023

bluck101 opened this issue Dec 16, 2024 · 1 comment

Comments

@bluck101
Copy link

Hi, i wanted to control daw tempo from my plugdata pluginMode patch.
I had luck compiling plugdata with Xcode and with abl_link~, for this purpose.

But when i updated pure_data module, this error came :

ld: Undefined symbols:
libpd_blocksize(), referenced from:
abl_link::AblLinkWrapper::acquireAudioSessionState(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l>>*) in libexternals.a[arm64]3
clang: error: linker command failed with exit code 1 (use -v to see invocation)

AblLinkWrapper references DEFDACBLKSIZE : #define DEFDACBLKSIZE (libpd_blocksize()) in pd s_stuff.h
AblLinkWrapper #include "s_stuff.h" // Only for DEFDACBLKSIZE.

it links ok when old definition DEFDACBLKSIZE 64 is used, so may I go back to this ( but what will be result of changing pd blocksize and not abl_link one ? ) or perhaps to another workaround ? Thanks

@timothyschoen
Copy link
Collaborator

Oh, that is strange. I think I may have to revert that change anyway, since it would cause problems with externals anyway if you actually use a blocksize other than 64.

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

2 participants