Comments (4)
The file "/home/king/Project/DB20_Linux/AVS/snowboy-master/lib/ubuntu64/libsnowboy-detect.a" is for arch-x86.
If you are using arm paltform, i think you should use "/home/king/Project/DB20_Linux/AVS/snowboy-master/lib/rpi/libsnowboy-detect.a" instead of......
from avs-device-sdk.
Hi @boyce-xx,
-
Yes, as of 0.4 (the current version), only Kitt.ai is supported. We plan on releasing Sensory support as well in 0.4.1 which should be coming out very soon, most likely early next week.
-
I suspect you're using the wrong library compatible version of Kitt.ai. Kitt.ai only releases their library in binary form, so you're limited by the versions they offer. Perhaps contact their team if you want something more specific to your needs? They have the following versions available publicly: https://github.com/Kitt-AI/snowboy/tree/master/lib. What platform are you trying to compile for?
from avs-device-sdk.
@charleschen84 yes, I'm using arm platform, this is my info:
/ # uname -a
Linux apq8009 3.18.44 #1 SMP PREEMPT Fri Jun 2 09:11:05 CST 2017 armv7l GNU/Linux
and I have tried to cmake with rpi library, but got an another issue:
- lib/rpi/libsnowboy-detect.a
[ 80%] Built target KWD
[ 81%] Built target AbstractKeywordDetectorTest
[ 82%] Linking CXX shared library libKITTAI.so
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/KittAi/src/libKITTAI.so] Error 1
make[1]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2
make: *** [all] Error 2
from avs-device-sdk.
Hi @sanjayrd , thanks for your quickly response, my platform is:
/ # uname -a
Linux apq8009 3.18.44 #1 SMP PREEMPT Fri Jun 2 09:11:05 CST 2017 armv7l GNU/Linux
my cross-compiler is:
king@wks:~/Project/DB20_Linux/AVS/Alexa_Make$ /home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-g++ --version
arm-linux-gnueabi-g++ (Linaro GCC 6.3-2017.02) 6.3.1 20170109
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
and I have tried all of those libraries to make, none of those is works:
lib/aarch64-ubuntu1604/libsnowboy-detect.a
[ 81%] Built target AbstractKeywordDetectorTest
[ 82%] Linking CXX shared library libKITTAI.so
/home/king/Project/DB20_Linux/AVS/snowboy-master/lib/aarch64-ubuntu1604/libsnowboy-detect.a: error adding symbols: File format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/KittAi/src/libKITTAI.so] Error 1
make[1]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2
make: *** [all] Error 2lib/android/armv7a/libsnowboy-detect.a
[ 80%] Built target KWD
[ 81%] Built target AbstractKeywordDetectorTest
[ 82%] Linking CXX shared library libKITTAI.so
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/KittAi/src/libKITTAI.so] Error 1
make[1]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2
make: *** [all] Error 2lib/android/armv8-aarch64/libsnowboy-detect.a
[ 80%] Built target KWD
[ 81%] Built target AbstractKeywordDetectorTest
[ 82%] Linking CXX shared library libKITTAI.so
/home/king/Project/DB20_Linux/AVS/snowboy-master/lib/android/armv8-aarch64/libsnowboy-detect.a: error adding symbols: File format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/KittAi/src/libKITTAI.so] Error 1
make[1]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2
make: *** [all] Error 2lib/edison/libsnowboy-detect.a
[ 80%] Built target KWD
[ 81%] Built target AbstractKeywordDetectorTest
[ 82%] Linking CXX shared library libKITTAI.so
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: /home/king/Project/DB20_Linux/AVS/snowboy-master/lib/edison/libsnowboy-detect.a(snowboy-detect.o): Relocations in generic ELF (EM: 3)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: /home/king/Project/DB20_Linux/AVS/snowboy-master/lib/edison/libsnowboy-detect.a(snowboy-detect.o): Relocations in generic ELF (EM: 3)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: /home/king/Project/DB20_Linux/AVS/snowboy-master/lib/edison/libsnowboy-detect.a(snowboy-detect.o): Relocations in generic ELF (EM: 3)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: /home/king/Project/DB20_Linux/AVS/snowboy-master/lib/edison/libsnowboy-detect.a(snowboy-detect.o): Relocations in generic ELF (EM: 3)
/home/king/Project/DB20_Linux/AVS/snowboy-master/lib/edison/libsnowboy-detect.a: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/KittAi/src/libKITTAI.so] Error 1
make[1]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2
make: *** [all] Error 2lib/fedora25-armv7/libsnowboy-detect.a
[ 80%] Built target KWD
[ 81%] Built target AbstractKeywordDetectorTest
[ 82%] Linking CXX shared library libKITTAI.so
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/KittAi/src/libKITTAI.so] Error 1
make[1]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2
make: *** [all] Error 2lib/ios/libsnowboy-detect.a
[ 80%] Built target KWD
[ 81%] Built target AbstractKeywordDetectorTest
[ 82%] Linking CXX shared library libKITTAI.so
/home/king/Project/DB20_Linux/AVS/snowboy-master/lib/ios/libsnowboy-detect.a: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/KittAi/src/libKITTAI.so] Error 1
make[1]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2
make: *** [all] Error 2lib/osx/libsnowboy-detect.a
[ 80%] Built target KWD
[ 81%] Built target AbstractKeywordDetectorTest
[ 82%] Linking CXX shared library libKITTAI.so
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/KittAi/src/libKITTAI.so] Error 1
make[1]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2
make: *** [all] Error 2lib/pine64/libsnowboy-detect.a
[ 80%] Built target KWD
[ 81%] Built target AbstractKeywordDetectorTest
[ 82%] Linking CXX shared library libKITTAI.so
/home/king/Project/DB20_Linux/AVS/snowboy-master/lib/pine64/libsnowboy-detect.a: error adding symbols: File format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/KittAi/src/libKITTAI.so] Error 1
make[1]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2
make: *** [all] Error 2lib/rpi/libsnowboy-detect.a
[ 80%] Built target KWD
[ 81%] Built target AbstractKeywordDetectorTest
[ 82%] Linking CXX shared library libKITTAI.so
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/KittAi/src/libKITTAI.so] Error 1
make[1]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2
make: *** [all] Error 2lib/ubuntu64/libsnowboy-detect.a
[ 80%] Built target KWD
[ 81%] Built target AbstractKeywordDetectorTest
[ 82%] Linking CXX shared library libKITTAI.so
/home/king/Project/DB20_Linux/AVS/snowboy-master/lib/ubuntu64/libsnowboy-detect.a: error adding symbols: File format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/KittAi/src/libKITTAI.so] Error 1
make[1]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2
make: *** [all] Error 2
so, you're right, I must contact KITT team regarding how to get a specific library.
thank you.
from avs-device-sdk.
Related Issues (20)
- gtest error during sampleapp build HOT 1
- Another "Failed to create SampleApplication" HOT 1
- Skill cant run on uncertified device HOT 1
- Saved configuration file after that it not loading configuration built complete i tried the ls command and there is no sampleapp.sh file
- Is there is any support for avs sdk integration for free RTOS ?
- Issue with Installation - Stuck at Building DefaultClient and DefaultClientBuilder HOT 2
- Failed to create SampleApplication - Alexa install Raspberry HOT 1
- Music Fails to Play - `dialogRequestId` mismatch when using voice command from phone to SampleApp
- The process of getting wakeword library PryonLite v2.18.0
- Alexa App latest update for FireHD 10 Tablets - BUGS HOT 8
- How to install alexa in raspberry pi zero w. I am unable to install pls help me on this
- Torie2
- MAZONLITE_KEY_WORD_DETECTOR or AMAZON_KEY_WORD_DETECTOR.
- Auth state does not update in expired state
- SampleApp compilation errors HOT 1
- I didnt get it, Internet is not reachable
- Error When Building SDK. "[21%] Linking CXX executable AlertSchedulerTest" HOT 1
- Raspberry Pi3 B+ avs Build Fail 93%
- Raspberry Pi3 B+ avs Build Fail 93%
- 14%] Linking CXX executable InMemoryCommunicationInvokeHandlerTest HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avs-device-sdk.