Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Error during build the Alexa Smart Screen SDK #14

Closed
2 of 8 tasks
aubert-creation opened this issue Feb 2, 2020 · 4 comments
Closed
2 of 8 tasks

Error during build the Alexa Smart Screen SDK #14

aubert-creation opened this issue Feb 2, 2020 · 4 comments

Comments

@aubert-creation
Copy link

aubert-creation commented Feb 2, 2020

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.

Briefly summarize your issue:

Error during build the Alexa Smart Screen SDK

What is the expected behavior?

What behavior are you observing?

pi@lisa-mirror:~/ScreenMirror/sdk_folder/ss-build $ make
make[2]: *** Aucune règle pour fabriquer la cible « /usr/local/lib,--disable-new-dtags », nécessaire pour « modules/Alexa/SmartScreenCapabilityAgents/VisualCharacteristics/src/libVisualCharacteristics.so ». Arrêt.
CMakeFiles/Makefile2:1685 : la recette pour la cible « modules/Alexa/SmartScreenCapabilityAgents/VisualCharacteristics/src/CMakeFiles/VisualCharacteristics.dir/all » a échouée
make[1]: *** [modules/Alexa/SmartScreenCapabilityAgents/VisualCharacteristics/src/CMakeFiles/VisualCharacteristics.dir/all] Erreur 2
Makefile:127 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2

Provide the steps to reproduce the issue, if applicable:

follow Raspberry Pi Quick Start Guide

Tell us about your environment:

What version of the AVS Device SDK are you using?

  <1.15.0>

Tell us what hardware you're using:

  • Desktop / Laptop
  • Raspberry Pi
  • Other - tell us more:

Tell us about your OS (Type & version):

  • Linux
  • MacOS
  • Raspbian Stretch
  • Raspbian Jessy
  • Other - tell us more:
@aubert-creation
Copy link
Author

aubert-creation commented Feb 2, 2020

here my cmake configuration command
pi@lisa-mirror:~/ScreenMirror/sdk_folder/ss-build $ sudo cmake -DCMAKE_PREFIX_PATH=/home/pi/ScreenMirror/sdk_folder/sdk-install -DWEBSOCKETPP_INCLUDE_DIR=/home/pi/ScreenMirror/sdk_folder/third-party/websocketpp-0.8.1 -DDISABLE_WEBSOCKET_SSL=ON -DGSTREAMER_MEDIA_PLAYER=ON -DCMAKE_BUILD_TYPE=DEBUG -DPORTAUDIO=ON -DPORTAUDIO_LIB_PATH=/home/pi/ScreenMirror/sdk_folder/third-party/portaudio/lib/.libs/libportaudio.a -DPORTAUDIO_INCLUDE_DIR=/home/pi/ScreenMirror/sdk_folder/third-party/portaudio/include/ -DAPL_CORE=ON -DAPLCORE_INCLUDE_DIR=/home/pi/ScreenMirror/sdk_folder/apl-core-library/aplcore/include -DAPLCORE_LIB_DIR=/home/pi/ScreenMirror/sdk_folder/apl-core-library/build/aplcore -DYOGA_INCLUDE_DIR=/home/pi/ScreenMirror/sdk_folder/apl-core-library/build/yoga-prefix/src/yoga -DYOGA_LIB_DIR=/home/pi/ScreenMirror/sdk_folder/apl-core-library/build/lib ../alexa-smart-screen-sdk
Creating the build directory for the AlexaModule with build type: DEBUG
Creating AlexaModule with keyword detector type: KittAi
Bluetooth implementation not supported
Creating the build directory for the CapabilityAgents with build type: DEBUG
Creating CapabilityAgents with keyword detector type: KittAi
Bluetooth implementation not supported
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the ApplicationUtilities with build type: DEBUG
Creating ApplicationUtilities with keyword detector type: KittAi
Bluetooth implementation not supported
Creating the build directory for the Communication with build type: DEBUG
Creating Communication with keyword detector type: KittAi
Bluetooth implementation not supported
Creating the build directory for the SmartScreenClient with build type: DEBUG
Creating SmartScreenClient with keyword detector type: KittAi
Bluetooth implementation not supported
Creating the build directory for the SampleApp with build type: DEBUG
Creating SampleApp with keyword detector type: KittAi
Bluetooth implementation not supported
Creating the build directory for the Utils with build type: DEBUG
Creating Utils with keyword detector type: KittAi
Bluetooth implementation not supported
-- Configuring done
WARNING: Target "AlexaPresentationTest" requests linking to directory "/usr/local/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "TemplateRuntimeTest" requests linking to directory "/usr/local/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VisualCharacteristicsTest" requests linking to directory "/usr/local/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "SampleApp" requests linking to directory "/usr/local/lib". Targets may link only to libraries. CMake is dropping the item.
-- Generating done
-- Build files have been written to: /home/pi/ScreenMirror/sdk_folder/ss-build

@priyagsenthil
Copy link

Hi,

Thanks for reaching out. Could you please provide the full build logs with error in English.

Thanks
Priya

@jchenit122
Copy link

Hi @aubert-creation

from the logs I saw:
Looks like you are running into Linux specific target_link_libraries command, could you please try remove the if condition inside Alexa/SmartScreenCapabilityAgents/VisualCharacteristics/src/CMakeLists.txt (line 14-16) and try build again ?

In the meantime, provide the full build logs with error in English and we can look more into it.

Thanks
Jason

@lynx-arul
Copy link
Contributor

Closing this due to inactivity. Please feel free to re-open if you encounter further problems.
Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants