Closed dhng22 closed 7 months ago
From a standpoint of some ignorance (I'm not an Android developer) this looks like a general problem to do with including an additional native library in an Android project.
My first wild guess would be that you have compiled the library and included the header, but not told the application build that it needs to link with the library (however that should be achieved).
My second would be that the library (the .a
file) was compiled for a different architecture or using a different toolchain from the rest of the application.
This does not look like a problem specific to Rubber Band.
If any other reader can help, do pipe up.
Thanks for your reply. I'm pretty hopeless here but i'll try to figure it out
But to my understanding, the library build for Android is the same as Linux which is .a for static and .so for dynamic, so i think i've built the library correctly and just the linking problem
I'm trying to include RubberBand in my JUCE project that build for Android. I built the lib with Meson and got a librubberband.a and successfully loaded with CMake. The header:
#include "rubberband/RubberBandStretcher.h"
also included in my header file, i can make call to RubberBand's components. But when build the project, i gotld: error: undefined symbol: RubberBand::RubberBandStretcher::available() const
, same goes withproccess()
,retrieve()
,... Is this a bug or i was doing it wrong