Closed pkalebu closed 5 years ago
Hi @pkalebu,
I noticed that you are linking the SDK with the armv8 KittAI library; however, you are using armv7 to build the SDK. Can you please try to use the armv7a KittAI library instead?
Thanks, Celina
@celinval I'll give it a shot, thanks! Would you happen to know how I can go about using armv8 to build the SDK?
Can you try to using -DANDROID_ABI=arm64-v8a
instead?
I tried. Not as straightforward as I'd hoped. I'm hoping Amazon comes out with an updated guide for armv8 Androids
On Thu, Jul 26, 2018 at 3:47 PM Celina G. Val notifications@github.com wrote:
Can you try to using -DANDROID_ABI=arm64-v8a instead?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alexa/avs-device-sdk/issues/874#issuecomment-408258244, or mute the thread https://github.com/notifications/unsubscribe-auth/ADczKVk5MwbP_DCI4ZThSNwSVwPmzKB8ks5uKkb0gaJpZM4VgibH .
Hi @pkalebu,
Alternatively, I see that KittAI has armv7a versions of the libraries as well. You can try linking against those after building the SDK with the armv7a toolchain as you originally did.
I am closing this issue due to inactivity. Please feel free to re-open it if it has been closed in error.
I already build AVS for Android and also build Kitt-AI and tested out their demo app on my Android arm64-v8a device. I'm now trying to build AVS with Kitt-AI so that I can have hotword detection for AVS. I keep getting an error related to a failure to link, citing undefined references to snowboy.
What is the expected behavior?
I expect the build to successfully complete at 100%
What behavior are you observing?
I get an error at around 66%. The
VERBOSE
output is as follows:Provide the steps to reproduce the issue, if applicable:
To configure the build, I run the following command:
${ANDROID_HOME}/cmake/3.6.4111459/bin/cmake -DANDROID_ABI=armeabi-v7a -DANDROID_ALLOW_UNDEFINED_SYMBOLS=FALSE -DANDROID_ARM_MODE=thumb -DANDROID_ARM_NEON=FALSE -DANDROID_CPP_FEATURES="rtti exceptions" -DANDROID_DISABLE_FORMAT_STRING_CHECKS=FALSE -DANDROID_DISABLE_NO_EXECUTE=FALSE -DANDROID_DISABLE_RELRO=FALSE -DANDROID_PIE=ON -DANDROID_PLATFORM=android-23 -DANDROID_STL=c++_shared -DANDROID_TOOLCHAIN=clang -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_CROSSCOMPILING=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_INSTALL_PREFIX:PATH=${INSTALL_TARGET} -DCMAKE_PREFIX_PATH:PATH=${INSTALL_TARGET} -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake -DCURL_INCLUDE_DIR=${INSTALL_TARGET}/include -DCURL_LIBRARY=${INSTALL_TARGET}/lib/libcurl.so -DKITTAI_KEY_WORD_DETECTOR=ON -DKITTAI_KEY_WORD_DETECTOR_LIB_PATH=~/android_workplace/Libraries/ThirdParty/snowboy/lib/android/armv8-aarch64/libsnowboy-detect.a -DKITTAI_KEY_WORD_DETECTOR_INCLUDE_DIR=~/android_workplace/Libraries/ThirdParty/snowboy/include/ ~/android_workplace/Libraries/Amazon/avs-device-sdk
I then run
make all -j 4
.What version of the AVS Device SDK are you using?
I'm using v1.8.1 of the SDK
Tell us what hardware you're using:
Tell us about your OS (Type & version):