Closed cerupcat closed 2 years ago
I can't seem to integrate abl_link with my own project. No matter what I do, I get the following error. It seems like it can't properly locate the libpd.so file building the Cmake file.
`* What went wrong: Execution failed for task ':app:buildCMakeDebug[arm64-v8a]'.
Build command failed. Error while executing process /Users/username/Library/Android/sdk/cmake/3.18.1/bin/ninja with arguments {-C /Users/username/location/app/.cxx/Debug/334m2n22/arm64-v8a abl_link_tilde} ninja: Entering directory `/Users/username/locatione/app/.cxx/Debug/334m2n22/arm64-v8a'
ninja: error: '/Users/username/location/pd-for-android/PdCore/src/main/libs/arm64-v8a/libpd.so', needed by '/Users/username/location/app/build/intermediates/cxx/Debug/334m2n22/obj/arm64-v8a/libabl_link_tilde.so', missing and no known rule to make it`
@cerupcat #32 should resolve this issue, specifically the change to CMakeLists.txt. Could you try the PR branch to see if it fixes the problem for you?
Thanks! Looks like my issue was a path-related issue since I didn't have libpd.so in the right path in the Cmake file.
Is there a way to integrate this via Gradle or is it a requirement to clone the main libpd repository and build from the source?
I'd love to just pull in libPd core and include this external.