Hi,
I'm trying to build a Qt application for Android that makes use of Crypto++.
Following the instructions written here I managed to get a libcryptopp.a and a libcryptopp.so. I've used mingw32-make on Windows 10 to build.
I've added the library in the .pro file like
contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
ANDROID_EXTRA_LIBS = \
$$PWD/../../../../cryptopp565/libcryptopp.so
}
contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
ANDROID_EXTRA_LIBS = \
$$PWD/../../../../cryptopp565/libcryptopp.so
}
To copy to clipboard, switch view to plain text mode
...but I get a lot of errors like
error: undefined reference to 'CryptoPP::RandomNumberGenerator::GenerateBlock(un signed char*, unsigned int)'
I'm assuming that's because the library is not properly linked. Any idea how to make it work?
Thanks!
Bookmarks