I add libformat.a library in my apk, but it can't be work! It's report thus erroe.
Error:(9) undefined reference to 'av_register_all()'.
The project use ndk-14 and cmake to compile.CMakeLists.txt like this.
Did I do something wrong? I use readelf command to read symbols in libformat.a file, av_register_all exsit in there. I don‘t understand why it is wrong!
I add
libformat.a
library in my apk, but it can't be work! It's report thus erroe.Error:(9) undefined reference to 'av_register_all()'
. The project use ndk-14 and cmake to compile.CMakeLists.txt like this.Did I do something wrong? I use
readelf
command to read symbols inlibformat.a
file,av_register_all
exsit in there. I don‘t understand why it is wrong!