Open Lewin225 opened 6 years ago
What is your g++ version? Could you also try the Snowboy demo alone on your machine and see if that works (https://github.com/Kitt-AI/snowboy)?
alexa@alexa-VirtualBox:~$ g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.6) 5.4.0 20160609
Copyright (C) 2015 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.
Thanks for looking into this
After switching to gcc / g++ 4.8.5 and with or without adding -D_GLIBCXX_USE_CXX11_ABI=0 -pg to CXXFLAG, I'm still encountering the same error
I think you're missing the library name libsnowboy-detect.a
Try: -DKITTAI_KEY_WORD_DETECTOR_LIB_PATH=/home/alexa/sdk-folder/third-party/snowboy/lib/ubuntu64/libsnowboy-detect.a
I'm hitting an error at this stage (Linking CXX executable) when compiling. Building on Ubuntu64 (16.04LTS) running inside a VM with Oracle virtual Box. Following the alexa-sdk guide, Below is my build command.
cd /home/alexa/sdk-folder/sdk-build && cmake /home/alexa/sdk-folder/sdk-source/avs-device-sdk -DKITTAI_KEY_WORD_DETECTOR=ON -DKITTAI_KEY_WORD_DETECTOR_LIB_PATH=/home/alexa/sdk-folder/third-party/snowboy/lib/ubuntu64 -DKITTAI_KEY_WORD_DETECTOR_INCLUDE_DIR=/home/alexa/sdk-folder/third-party/snowboy/include -DGSTREAMER_MEDIA_PLAYER=ON -DPORTAUDIO=ON -DPORTAUDIO_LIB_PATH=/home/alexa/sdk-folder/third-party/portaudio/lib/.libs/libportaudio.a -DPORTAUDIO_INCLUDE_DIR=/home/alexa/sdk-folder/third-party/portaudio/include -DGSTREAMER_MEDIA_PLAYER=ON && make
Produces