udefined reference to external lib
-
Hi im trying to use an external lib / api on my current project (imbe_vocoder)...
some information before:
OS: Ubuntu / Linux
KIT: Android QT 5.15.2 CLang multi-abi
(all QT packages / SDK / NDK / ETC... already installed correctly )
imbe_vocoder is already compiled for aarch64 / android.

trying to compile to my current kit show me the next error:

anyone know why? i already try changing compiler options from multi-abi to specific aarch64 but doesn't work... and i haven't any idea of how to fix that.
-
Your LIBS parameter doesn't look right
- you're missing the lib path
- it's not
-Lbut-l
as properly described in the documentation.
-
Hi im trying to use an external lib / api on my current project (imbe_vocoder)...
some information before:
OS: Ubuntu / Linux
KIT: Android QT 5.15.2 CLang multi-abi
(all QT packages / SDK / NDK / ETC... already installed correctly )
imbe_vocoder is already compiled for aarch64 / android.

trying to compile to my current kit show me the next error:

anyone know why? i already try changing compiler options from multi-abi to specific aarch64 but doesn't work... and i haven't any idea of how to fix that.
@0xNull
I don't think it has anything to do with architecture. It looks like you have not told it which library file to link with to resolve the references.LIBS += -Limbe_vocderAre you aware that the
-Largument tells the linker to look in the specified directory for lib files? It is the-largument which specifies a library file. (They can both be used if required.) Did you maybe intend-limbe_vocder? -
@0xNull
Look at the filename of the.afile and the error message. You say it isimbe_vocoder. So far as I can see it'smbe_vocoder, inlibmbe_vocoder.a. -
@0xNull
And does your linker look in whatever directory that is? Do you need to add that directory with a-Largument?Does the package come with any instructions for its usage?
@JonB said in udefined reference to external lib:
Does the package come with any instructions for its usage?
yes i'll share the git repos with you, and try compile.
app
https://github.com/nostar/DroidStarvocoder (pre-requisite)
https://github.com/nostar/imbe_vocoderok.. i'll explain you how to build the APK... first compile the vocoder following the README file, after all put the generated files on project folder then on QT Creator import the project and build in android kit 5.15.2 clang multi-abi. Try
-
@JonB said in udefined reference to external lib:
Does the package come with any instructions for its usage?
yes i'll share the git repos with you, and try compile.
app
https://github.com/nostar/DroidStarvocoder (pre-requisite)
https://github.com/nostar/imbe_vocoderok.. i'll explain you how to build the APK... first compile the vocoder following the README file, after all put the generated files on project folder then on QT Creator import the project and build in android kit 5.15.2 clang multi-abi. Try


