plugdata icon indicating copy to clipboard operation
plugdata copied to clipboard

Linking issue with abl_link~

Open bluck101 opened this issue 1 year ago • 1 comments

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

bluck101 avatar Dec 16 '24 19:12 bluck101

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.

timothyschoen avatar Dec 16 '24 19:12 timothyschoen

This is fixed now on nightly

timothyschoen avatar Jul 12 '25 19:07 timothyschoen