Kitt-AI / snowboy

Future versions with model training module will be maintained through a forked version here: https://github.com/seasalt-ai/snowboy
Other
3.03k stars 994 forks source link

Amazon alexa SDK build fail #288

Open cgw21 opened 6 years ago

cgw21 commented 6 years ago

Hello,

I am currently having issues linking the kitt.ai hotword detection with the amazon alexa SDK. I successfully built the Swig python interface, however, i am getting an error shown in this image, image

it seems to be an undefined reference to snowboy detect and set sensitivity but I am unable to figure out why those functions are having issues even with me pointing to the "include" dir and the "libsnowboy-detect.a".

Any help or insights would be appreciated.

cheers

chenguoguo commented 6 years ago

What is your platform? It is possible that you were running on a platform that our library doesn't support.

cgw21 commented 6 years ago

@chenguoguo I am running on an intel Atom Processor, specifically the MinnowBoard Turboat Microcomputer. It is a x86_64 system running ubuntu 17.04. I was able to compile everything from source with no issues and linked against the directories needed for the compilation of the Amazon SDK. what could be some of the possible elements of the platform not being supported?

chenguoguo commented 6 years ago

We provide Snowboy as pre-compiled libraries, you can see the full list here: https://github.com/Kitt-AI/snowboy/tree/master/lib

When you compile your Amazon SDK, it will try to find a Snowboy library that works on your platform (by default it's RPI). If the library is not compiled for your platform, then you will see issues like the above.

khassel commented 6 years ago

you find the solution here: https://github.com/alexa/avs-device-sdk/issues/385

mmabluesky commented 6 years ago

hi , @cgw21 I also encountered this problem. Can you tell me how you solved it? I feel this is a problem for avs himself.