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

Errors building smart screen sdk #21

Closed
2 tasks
nu00 opened this issue Apr 4, 2020 · 4 comments
Closed
2 tasks

Errors building smart screen sdk #21

nu00 opened this issue Apr 4, 2020 · 4 comments

Comments

@nu00
Copy link

nu00 commented Apr 4, 2020

Briefly summarize your issue:

While trying to make the alexa smart screen sdk (point 7.6 of https://developer.amazon.com/pt-BR/docs/alexa/alexa-smart-screen-sdk/ubuntu.html#step-7-build-the-alexa-smart-screen-sdk) it gives me an error.

What behavior are you observing?

When building the SDK it gives me this:

Creating the build directory for the AlexaModule with build type: DEBUG
No keyword detector type specified, skipping build of keyword detector.
Bluetooth implementation not supported
Creating the build directory for the CapabilityAgents with build type: DEBUG
No keyword detector type specified, skipping build of keyword detector.
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
No keyword detector type specified, skipping build of keyword detector.
Bluetooth implementation not supported
Creating the build directory for the Communication with build type: DEBUG
No keyword detector type specified, skipping build of keyword detector.
Bluetooth implementation not supported
Creating the build directory for the SmartScreenClient with build type: DEBUG
No keyword detector type specified, skipping build of keyword detector.
Bluetooth implementation not supported
Creating the build directory for the SampleApp with build type: DEBUG
No keyword detector type specified, skipping build of keyword detector.
Bluetooth implementation not supported
Creating the build directory for the Utils with build type: DEBUG
No keyword detector type specified, skipping build of keyword detector.
Bluetooth implementation not supported
-- Configuring done
-- Generating done
-- Build files have been written to: /home/utente/sdk_folder/ss-build
Scanning dependencies of target VisualCharacteristics
[  2%] Building CXX object modules/Alexa/SmartScreenCapabilityAgents/VisualCharacteristics/src/CMakeFiles/VisualCharacteristics.dir/VisualCharacteristics.cpp.o
[  4%] Linking CXX shared library libVisualCharacteristics.so
[  4%] Built target VisualCharacteristics
Scanning dependencies of target gmock_main
[  7%] Building CXX object modules/Alexa/ThirdParty/googletest-release-1.8.0/googlemock/CMakeFiles/gmock_main.dir/__/googletest/src/gtest-all.cc.o
[  9%] Building CXX object modules/Alexa/ThirdParty/googletest-release-1.8.0/googlemock/CMakeFiles/gmock_main.dir/src/gmock-all.cc.o
[ 11%] Building CXX object modules/Alexa/ThirdParty/googletest-release-1.8.0/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[ 14%] Linking CXX static library libgmock_main.a
[ 14%] Built target gmock_main
Scanning dependencies of target VisualCharacteristicsTest
[ 16%] Building CXX object modules/Alexa/SmartScreenCapabilityAgents/VisualCharacteristics/test/CMakeFiles/VisualCharacteristicsTest.dir/VisualCharacteristicsTest.cpp.o
[ 19%] Linking CXX executable VisualCharacteristicsTest
[ 19%] Built target VisualCharacteristicsTest
Scanning dependencies of target AlexaPresentation
[ 21%] Building CXX object modules/Alexa/SmartScreenCapabilityAgents/AlexaPresentation/src/CMakeFiles/AlexaPresentation.dir/AlexaPresentation.cpp.o
[ 23%] Linking CXX shared library libAlexaPresentation.so
[ 23%] Built target AlexaPresentation
Scanning dependencies of target AlexaPresentationTest
[ 26%] Building CXX object modules/Alexa/SmartScreenCapabilityAgents/AlexaPresentation/test/CMakeFiles/AlexaPresentationTest.dir/AlexaPresentationTest.cpp.o
[ 28%] Linking CXX executable AlexaPresentationTest
[ 28%] Built target AlexaPresentationTest
Scanning dependencies of target SmartScreenTemplateRunTime
[ 30%] Building CXX object modules/Alexa/SmartScreenCapabilityAgents/TemplateRuntime/src/CMakeFiles/SmartScreenTemplateRunTime.dir/TemplateRuntime.cpp.o
[ 33%] Linking CXX shared library libSmartScreenTemplateRunTime.so
[ 33%] Built target SmartScreenTemplateRunTime
Scanning dependencies of target TemplateRuntimeTest
[ 35%] Building CXX object modules/Alexa/SmartScreenCapabilityAgents/TemplateRuntime/test/CMakeFiles/TemplateRuntimeTest.dir/TemplateRuntimeTest.cpp.o
[ 38%] Linking CXX executable TemplateRuntimeTest
[ 38%] Built target TemplateRuntimeTest
Test project /home/utente/sdk_folder/ss-build/modules/Alexa
      Start  1: AlexaPresentationTest.testNullContextManagerInterface
 1/37 Test  #1: AlexaPresentationTest.testNullContextManagerInterface ......................   Passed    0.07 sec
      Start  2: AlexaPresentationTest.testNullFocusManagerInterface
 2/37 Test  #2: AlexaPresentationTest.testNullFocusManagerInterface ........................   Passed    0.02 sec
      Start  3: AlexaPresentationTest.testNullExceptionSender
 3/37 Test  #3: AlexaPresentationTest.testNullExceptionSender ..............................   Passed    0.02 sec
      Start  4: AlexaPresentationTest.testNullMessageSender
 4/37 Test  #4: AlexaPresentationTest.testNullMessageSender ................................   Passed    0.02 sec
      Start  5: AlexaPresentationTest.testUnknownDirective
 5/37 Test  #5: AlexaPresentationTest.testUnknownDirective .................................   Passed    0.02 sec
      Start  6: AlexaPresentationTest.testMalformedRenderDocumentDirective
 6/37 Test  #6: AlexaPresentationTest.testMalformedRenderDocumentDirective .................   Passed    0.02 sec
      Start  7: AlexaPresentationTest.testMalformedRenderDocumentDirective2
 7/37 Test  #7: AlexaPresentationTest.testMalformedRenderDocumentDirective2 ................   Passed    0.02 sec
      Start  8: AlexaPresentationTest.testMalformedExecuteCommandDirective
 8/37 Test  #8: AlexaPresentationTest.testMalformedExecuteCommandDirective .................   Passed    0.02 sec
      Start  9: AlexaPresentationTest.testMalformedExecuteCommandDirective2
 9/37 Test  #9: AlexaPresentationTest.testMalformedExecuteCommandDirective2 ................   Passed    0.02 sec
      Start 10: AlexaPresentationTest.testExecuteCommandAfterMismatchedAPLCard
10/37 Test #10: AlexaPresentationTest.testExecuteCommandAfterMismatchedAPLCard .............   Passed    0.02 sec
      Start 11: AlexaPresentationTest.testExecuteCommandAfterRightAPL
11/37 Test #11: AlexaPresentationTest.testExecuteCommandAfterRightAPL ......................***Not Run (Disabled)   0.00 sec
      Start 12: AlexaPresentationTest.testAPLClearCard
12/37 Test #12: AlexaPresentationTest.testAPLClearCard .....................................   Passed    1.03 sec
      Start 13: AlexaPresentationTest.testAPLTimeout
13/37 Test #13: AlexaPresentationTest.testAPLTimeout .......................................   Passed    1.03 sec
      Start 14: AlexaPresentationTest.testAPLIdleRespectsGUIActive
14/37 Test #14: AlexaPresentationTest.testAPLIdleRespectsGUIActive .........................   Passed    0.03 sec
      Start 15: AlexaPresentationTest.testAPLIdleRespectsGUIInactive
15/37 Test #15: AlexaPresentationTest.testAPLIdleRespectsGUIInactive .......................   Passed    0.53 sec
      Start 16: AlexaPresentationTest.testAPLIdleRespectsDialogUXWhenGUIInactive
16/37 Test #16: AlexaPresentationTest.testAPLIdleRespectsDialogUXWhenGUIInactive ...........   Passed    0.02 sec
      Start 17: AlexaPresentationTest.testAPLFollowedByAPL
17/37 Test #17: AlexaPresentationTest.testAPLFollowedByAPL .................................   Passed    0.53 sec
      Start 18: AlexaPresentationTest.testSendUserEvent
18/37 Test #18: AlexaPresentationTest.testSendUserEvent ....................................   Passed    0.02 sec
      Start 19: TemplateRuntimeTest.test_nullAudioPlayerInterface
19/37 Test #19: TemplateRuntimeTest.test_nullAudioPlayerInterface ..........................   Passed    0.02 sec
      Start 20: TemplateRuntimeTest.test_nullFocusManagerInterface
20/37 Test #20: TemplateRuntimeTest.test_nullFocusManagerInterface .........................   Passed    0.02 sec
      Start 21: TemplateRuntimeTest.test_nullExceptionSender
21/37 Test #21: TemplateRuntimeTest.test_nullExceptionSender ...............................   Passed    0.02 sec
      Start 22: TemplateRuntimeTest.test_renderInfoCardsPlayersAddRemoveObserver
22/37 Test #22: TemplateRuntimeTest.test_renderInfoCardsPlayersAddRemoveObserver ...........   Passed    0.02 sec
      Start 23: TemplateRuntimeTest.test_unknownDirective
23/37 Test #23: TemplateRuntimeTest.test_unknownDirective ..................................   Passed    0.02 sec
      Start 24: TemplateRuntimeTest.testSlow_renderTemplateDirective
24/37 Test #24: TemplateRuntimeTest.testSlow_renderTemplateDirective .......................   Passed   10.03 sec
      Start 25: TemplateRuntimeTest.test_handleDirectiveImmediately
25/37 Test #25: TemplateRuntimeTest.test_handleDirectiveImmediately ........................   Passed    0.03 sec
      Start 26: TemplateRuntimeTest.testSlow_renderPlayerInfoDirectiveBefore
26/37 Test #26: TemplateRuntimeTest.testSlow_renderPlayerInfoDirectiveBefore ...............   Passed   10.03 sec
      Start 27: TemplateRuntimeTest.test_renderPlayerInfoDirectiveAfter
27/37 Test #27: TemplateRuntimeTest.test_renderPlayerInfoDirectiveAfter ....................   Passed    0.02 sec
      Start 28: TemplateRuntimeTest.test_renderPlayerInfoDirectiveWithoutAudioItemId
28/37 Test #28: TemplateRuntimeTest.test_renderPlayerInfoDirectiveWithoutAudioItemId .......   Passed    0.02 sec
      Start 29: TemplateRuntimeTest.test_malformedRenderPlayerInfoDirective
29/37 Test #29: TemplateRuntimeTest.test_malformedRenderPlayerInfoDirective ................   Passed    0.02 sec
      Start 30: TemplateRuntimeTest.test_renderPlayerInfoDirectiveDifferentAudioItemId
30/37 Test #30: TemplateRuntimeTest.test_renderPlayerInfoDirectiveDifferentAudioItemId .....   Passed    0.02 sec
      Start 31: TemplateRuntimeTest.test_renderPlayerInfoDirectiveWithTwoProviders
31/37 Test #31: TemplateRuntimeTest.test_renderPlayerInfoDirectiveWithTwoProviders .........   Passed    0.02 sec
      Start 32: TemplateRuntimeTest.test_renderPlayerInfoDirectiveAudioStateUpdate
32/37 Test #32: TemplateRuntimeTest.test_renderPlayerInfoDirectiveAudioStateUpdate .........   Passed    0.02 sec
      Start 33: TemplateRuntimeTest.test_focusNone
33/37 Test #33: TemplateRuntimeTest.test_focusNone .........................................   Passed    0.02 sec
      Start 34: TemplateRuntimeTest.test_displayCardCleared
34/37 Test #34: TemplateRuntimeTest.test_displayCardCleared ................................   Passed    0.02 sec
      Start 35: TemplateRuntimeTest.test_reacquireChannel
35/37 Test #35: TemplateRuntimeTest.test_reacquireChannel ..................................   Passed    0.02 sec
      Start 36: TemplateRuntimeTest.testTimer_RenderPlayerInfoAfterPlayerActivityChanged
36/37 Test #36: TemplateRuntimeTest.testTimer_RenderPlayerInfoAfterPlayerActivityChanged ...   Passed    0.02 sec
      Start 37: VisualCharacteristicsTest.testGetCapabilityConfigurations
37/37 Test #37: VisualCharacteristicsTest.testGetCapabilityConfigurations ..................***Not Run (Disabled)   0.00 sec

100% tests passed, 0 tests failed out of 35

Total Test time (real) =  23.94 sec

The following tests did not run:
	 11 - AlexaPresentationTest.testExecuteCommandAfterRightAPL (Disabled)
	 37 - VisualCharacteristicsTest.testGetCapabilityConfigurations (Disabled)
[ 38%] Built target unit
Scanning dependencies of target Communication
[ 40%] Building CXX object modules/Alexa/ApplicationUtilities/Communication/src/CMakeFiles/Communication.dir/WebSocketServer.cpp.o
[ 42%] Building CXX object modules/Alexa/ApplicationUtilities/Communication/src/CMakeFiles/Communication.dir/WebSocketSDKLogger.cpp.o
[ 45%] Linking CXX shared library libCommunication.so
[ 45%] Built target Communication
Scanning dependencies of target SmartScreenClient
[ 47%] Building CXX object modules/Alexa/ApplicationUtilities/SmartScreenClient/src/CMakeFiles/SmartScreenClient.dir/SmartScreenClient.cpp.o
[ 50%] Building CXX object modules/Alexa/ApplicationUtilities/SmartScreenClient/src/CMakeFiles/SmartScreenClient.dir/EqualizerRuntimeSetup.cpp.o
[ 52%] Building CXX object modules/Alexa/ApplicationUtilities/SmartScreenClient/src/CMakeFiles/SmartScreenClient.dir/DeviceSettingsManagerBuilder.cpp.o
[ 54%] Linking CXX shared library libSmartScreenClient.so
[ 54%] Built target SmartScreenClient
Scanning dependencies of target SampleApp
[ 57%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/AplCoreConnectionManager.cpp.o
[ 59%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/AplCoreEngineSDKLogBridge.cpp.o
[ 61%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/AplCoreGuiRenderer.cpp.o
[ 64%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/AplCoreMetrics.cpp.o
[ 66%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/AplCoreTextMeasurement.cpp.o
[ 69%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/ConnectionObserver.cpp.o
[ 71%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/ConsolePrinter.cpp.o
[ 73%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/FocusBridge.cpp.o
[ 76%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/GUILogBridge.cpp.o
[ 78%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/GUI/GUIClient.cpp.o
[ 80%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/GUI/GUIManager.cpp.o
[ 83%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/JsonUIManager.cpp.o
[ 85%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/KeywordObserver.cpp.o
[ 88%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/LocaleAssetsManager.cpp.o
[ 90%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/SampleApplication.cpp.o
[ 92%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/SampleEqualizerModeController.cpp.o
[ 95%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/main.cpp.o
[ 97%] Building CXX object modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/PortAudioMicrophoneWrapper.cpp.o
[100%] Linking CXX executable SampleApp
[100%] Built target SampleApp
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
Illegal instruction (core dumped)l: sill install executeActions
modules/GUI/CMakeFiles/GUIClient.dir/build.make:57: recipe for target 'modules/GUI/CMakeFiles/GUIClient' failed
make[2]: *** [modules/GUI/CMakeFiles/GUIClient] Error 132
CMakeFiles/Makefile2:2146: recipe for target 'modules/GUI/CMakeFiles/GUIClient.dir/all' failed
make[1]: *** [modules/GUI/CMakeFiles/GUIClient.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

It's probably a problem with npm. Nodejs is installed.

Tell us what hardware you're using:

  • Laptop

Tell us about your OS (Type & version):

  • Ubuntu 18.04 LTS
@nu00 nu00 changed the title Errors with make of smart screen sdk Errors building smart screen sdk Apr 4, 2020
@chemudug-amzn
Copy link
Contributor

Hi nu00,

What version of node are you running? It might be too old as you are running 18.04 LTS.

Please run the following to get node 12, (tested on Ubuntu 19.10):

curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install nodejs

Hope this helps!

@nu00
Copy link
Author

nu00 commented Apr 7, 2020

I'm running node 13.x, as suggested in the quick start of the SDKs. Do I've to downgrade to node 12.x?

@chemudug-amzn
Copy link
Contributor

https://developer.amazon.com/en-US/docs/alexa/alexa-smart-screen-sdk/ubuntu.html

Please try to downgrade, as a core dump suggests the nodejs is have issues running.

@nu00
Copy link
Author

nu00 commented Apr 8, 2020

I've removed nodejs 13 and installed node 12. It worked just fine, 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

2 participants