Closed Chiggy-Playz closed 4 years ago
It was due to expiriton of license key update your license key by running license.sh and it will work fine. License is extended till 27 Nov. I was facing the same problem and got solved after updating.
/home/pi/third-party/alexa-rpi/bin
Hi @Chiggy-Playz,
If the suggestion provided by @rajdpandey did not work, can you please attach DEBUG9 logs? The SDK must be built in DEBUG mode and the logs must be enabled by passing in DEBUG9 for the log level: https://github.com/alexa/avs-device-sdk/wiki/Build-Options#build-types.
@kjkh sorry for a late respond. I searched a lot in all my files for anything related to sensory or KITTai but did not find anything. So i deleted my whole "my_project" folder which is home to the alexa. Then I followed all the steps provided on the wiki for ubuntu linux and then I saw this new message while building :
Key Word Detector not Found
So i want to ask how do I tell it to automatically download the sensory KWD and then use it? like what cmake command do I use precisely? also I would like to mention that I did not allow it to finish the command. I aborted it. so my Alexa is still not complete.
Hi @Chiggy-Playz The wake word engine for the SDK is an optional component. Note that this link : https://github.com/alexa/avs-device-sdk/wiki/Ubuntu-Linux-Quick-Start-Guide sets up the SDK without any wake word engine. You can press the 't' key in sample app to interact with Alexa. For example, you can press the t button and say "What time is it?"
To build SDK with a wake word engine you will have to do the following:
1) Clone the KITT AI project preferably under the third-party folder:
cd $HOME/my_project/third-party git clone https://github.com/Kitt-AI/snowboy
2) Run the cmake command with the following:
cmake $HOME/my_project/source/avs-device-sdk \
-DGSTREAMER_MEDIA_PLAYER=ON \
-DPORTAUDIO=ON \
-DPORTAUDIO_LIB_PATH=$HOME/my_project/third-party/portaudio/lib/.libs/libportaudio.a \
-DPORTAUDIO_INCLUDE_DIR=$HOME/my_project/third-party/portaudio/include \
-DKITTAI_KEY_WORD_DETECTOR=ON \
-DKITTAI_KEY_WORD_DETECTOR_LIB_PATH=$HOME/my_project/third-party/snowboy/lib/ubuntu64/libsnowboy-detect.a \
-DKITTAI_KEY_WORD_DETECTOR_INCLUDE_DIR=$HOME/my_project/third-party/snowboy/include \
-DCMAKE_BUILD_TYPE=DEBUG
@mvelegon-amzn i get an error while building.
[ 79%] Linking CXX shared library libKITTAI.so /usr/bin/ld: /home/pi/my_project/third-party/snowboy/lib/ubuntu64/libsnowboy-detect.a: error adding symbols: file format not recognized collect2: error: ld returned 1 exit status make[3]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/build.make:103: KWD/KittAi/src/libKITTAI.so] Error 1 make[2]: *** [CMakeFiles/Makefile2:5739: KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 79%] Building CXX object CapabilityAgents/AIP/src/CMakeFiles/AIP.dir/ESPData.cpp.o [ 79%] Linking CXX shared library libAIP.so [ 79%] Built target AIP make[1]: *** [CMakeFiles/Makefile2:10239: SampleApp/src/CMakeFiles/SampleApp.dir/rule] Error 2 make: *** [Makefile:2580: SampleApp] Error 2
didn't find any solution to this.
Hi @Chiggy-Playz, it looks like you are trying to link the KittAI built for x86-64 on your raspberry pi which is arm based.
Can you try to use the rpi folder instead?
/home/pi/my_project/third-party/snowboy/lib/rpi/libsnowboy-detect.a
I am closing this issue due to inactivity. Please feel free to re-open it if it has been closed in error.
Briefly summarize your issue:
I installed Alexa sample app using the ubuntu linux instructions as provided here. When i use the t+enter command to make alexa listen to me, it works perfectly fine without any issues. However when I say Alexa, nothing happens.
What I think went wrong was that while following instructions, I saw nothing related to the wake word engine. So I believe it is not installed.
What is the expected behavior?
Alexa should respond to my query
What behavior are you observing?
The wake word engine is probably not listening.
Provide the steps to reproduce the issue, if applicable:
follow steps for ubuntu linux
Tell us about your environment:
Raspberry pi 4. Running Debian 10 - Buster
What version of the AVS Device SDK are you using?
Tell us what hardware you're using:
Tell us about your OS (Type & version):