alexa / alexa-smart-screen-sdk

⛔️ DEPRECATED Active at https://github.com/alexa/avs-device-sdk
Apache License 2.0
76 stars 26 forks source link

Compile error while linking SampleApp #116

Closed zhaokai3000 closed 3 years ago

zhaokai3000 commented 3 years ago

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

Briefly summarize your issue:

avs sdk version 1.25.0, alexa smart screen sdk version 2.8.0, apl-core-library version 1.7.1, compile process reports a linking error while linking SampleApp.

What is the expected behavior?

SampleApp build successfully

What behavior are you observing?

I'm experiencing the following compile error:

alexa-smart-screen-sdk v2.8.0 Configuring echo "BR_PATH is "/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/bin:/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/walker/tools/repo:/home/walker/tools/repo"" BR_PATH is /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/bin:/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/walker/tools/repo:/home/walker/tools/repo (mkdir -p /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/build/alexa-smart-screen-sdk-build && cd /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/build/alexa-smart-screen-sdk-build && rm -f CMakeCache.txt && PATH="/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/bin:/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/walker/tools/repo:/home/walker/tools/repo" CMAKE_INCLUDE_PATH+="/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/aarch64-buildroot-linux-gnu/sysroot/usr/include" /usr/bin/cmake /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/build/alexa-smart-screen-sdk-v2.8.0/ -DCMAKE_TOOLCHAIN_FILE="/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/share/buildroot/toolchainfile.cmake" -DCMAKE_C_COMPILER_FORCED=TRUE -DCMAKE_CXX_COMPILER_FORCED=TRUE -DBUILD_SHARED_LIBS=ON -DCMAKE_PREFIX_PATH=/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/target/usr -DCMAKE_BUILD_TYPE=DEBUG -DWEBSOCKETPP_INCLUDE_DIR=/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DDISABLE_WEBSOCKET_SSL=ON -DGSTREAMER_MEDIA_PLAYER=ON -DPORTAUDIO=ON -DPORTAUDIO_LIB_PATH=/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/target/usr/lib/libportaudio.so -DPORTAUDIO_INCLUDE_DIR=/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DAPLCORE_INCLUDE_DIR=/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DAPLCORE_BUILD_INCLUDE_DIR=/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DAPLCORE_LIB_DIR=/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/build/apl-core-library-v1.7.1/build/aplcore -DAPLCORE_RAPIDJSON_INCLUDE_DIR=/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -DYOGA_INCLUDE_DIR=/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/build/apl-core-library-v1.7.1/yoga-prefix/src/yoga -DYOGA_LIB_DIR=/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib -DBUILD_TESTING=0 ) -- The CXX compiler identification is GNU 8.4.0 -- Found PkgConfig: /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/bin/pkg-config (found version "0.28") -- Checking for module 'AlexaClientSDK=1.25.0' -- Found AlexaClientSDK, version 1.25.0 Creating the build directory for the AlexaSmartScreenSDK with build type: DEBUG CMake Warning at modules/Alexa/build/cmake/BuildOptions.cmake:44 (message): WARNING! THIS DEVICE HAS BEEN COMPILED IN DEBUG MODE.

RELEASING A PRODUCTION DEVICE IN DEBUG MODE MAY IMPACT DEVICE PERFORMANCE, DOES NOT COMPLY WITH THE AVS SECURITY REQUIREMENTS, AND COULD RESULT IN SUSPENSION OR TERMINATION OF THE ALEXA SERVICE ON YOUR DEVICES.

Call Stack (most recent call first): modules/Alexa/build/BuildDefaults.cmake:9 (include) modules/Alexa/build/BuildDefaults.cmake:17 (include_once) modules/Alexa/CMakeLists.txt:83 (include)

No keyword detector type specified, skipping build of keyword detector. -- Checking for modules 'gstreamer-1.0>=1.8;gstreamer-app-1.0>=1.8' -- Found gstreamer-1.0, version 1.14.4 -- Found gstreamer-app-1.0, version 1.14.4 Bluetooth implementation not supported Creating AlexaSmartScreenSDK with configuration validation enabled -- The C compiler identification is GNU 8.4.0 -- Found PythonInterp: /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/bin/python (found version "3.8.6") -- Looking for pthread.h -- Looking for pthread.h - not found -- Could NOT find Threads (missing: Threads_FOUND) -- Could NOT find Threads (missing: Threads_FOUND) -- 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 APLClientLibrary with build type: DEBUG -- 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) -- Found Doxygen: /usr/bin/doxygen (found version "1.8.17") found components: doxygen missing components: dot -- Configuring done -- Generating done -- Build files have been written to: /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/build/alexa-smart-screen-sdk-build

alexa-smart-screen-sdk v2.8.0 Building PATH="/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/bin:/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/walker/tools/repo:/home/walker/tools/repo" /usr/bin/make -j2 -C /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/build/alexa-smart-screen-sdk-build


No test configuration file found!


Usage

ctest [options]

[ 0%] Built target unit [ 29%] Built target APLClient [ 32%] Built target SmartScreenTemplateRunTime [ 35%] Built target VisualCharacteristics [ 40%] Built target Communication npm WARN gui@1.0.0 No repository field. npm WARN gui@1.0.0 license should be a valid SPDX license expression

audited 374 packages in 3.598s

28 packages are looking for funding run npm fund for details

found 6 vulnerabilities (2 moderate, 4 high) run npm audit fix to fix them, or npm audit for details

gui@1.0.0 build /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/build/alexa-smart-screen-sdk-v2.8.0/modules/GUI/js npm run lint && webpack --config webpack.config.js "--output-path" "/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/build/alexa-smart-screen-sdk-build/modules/GUI" "--env" "DISABLE_WEBSOCKET_SSL=true" "--env" "USE_UWP_CLIENT=false"

gui@1.0.0 lint /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/build/alexa-smart-screen-sdk-v2.8.0/modules/GUI/js tslint --project tsconfig.json -c tslint.json 'src/*/.ts' 'src/*/.tsx'

[ 50%] Built target SSSDKCommon [ 55%] Built target AlexaPresentation [ 66%] Built target SmartScreenClient (node:139416) [DEP_WEBPACK_MODULE_ERRORS] DeprecationWarning: Module.errors was removed (use getErrors instead) (Use node --trace-deprecation ... to show where the warning was created) (node:139416) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated. BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation. Do changes to assets earlier, e. g. in Compilation.hooks.processAssets. Make sure to select an appropriate stage from Compilation.PROCESS_ASSETSSTAGE. assets by status 22.7 KiB [cached] 1 asset assets by path ../dist/lib/ 29.1 KiB 26 assets assets by path ../dist/components/.ts 7.41 KiB asset ../dist/components/APLRendererWindow.d.ts 2.84 KiB [compared for emit] asset ../dist/components/PlayerInfoWindow.d.ts 1.72 KiB [compared for emit] asset ../dist/components/VoiceChrome.d.ts 1.59 KiB [compared for emit] asset ../dist/components/CommsWindow.d.ts 464 bytes [compared for emit] asset ../dist/components/CaptionsView.d.ts 443 bytes [compared for emit] asset ../dist/components/SampleHome.d.ts 383 bytes [compared for emit] assets by path ../dist/.ts 5.37 KiB asset ../dist/app.d.ts 5.35 KiB [compared for emit] asset ../dist/main.d.ts 21 bytes [compared for emit] asset main.bundle.js 831 KiB [compared for emit] [minimized] [big] (name: main) 1 related asset asset index.html 221 bytes [compared for emit] runtime modules 27 bytes 1 module modules by path ./ 116 KiB (javascript) 22.7 KiB (asset) javascript modules 115 KiB 37 modules json modules 861 bytes ./lib/displayCards/AVSDisplayCards.json 174 bytes [built] [code generated] ./lib/displayCards/AVSDisplayCardSupportedViewports.json 687 bytes [built] [code generated] ./assets/horizontal_RGB_color_whitetext.png 42 bytes (javascript) 22.7 KiB (asset) [built] [code generated] modules by path ../ 808 KiB modules by path ../node_modules/react/ 6.7 KiB 2 modules modules by path ../node_modules/react-dom/ 117 KiB 2 modules modules by path ../node_modules/style-loader/lib/.js 12.7 KiB 2 modules modules by path ../node_modules/css-loader/dist/runtime/*.js 2.38 KiB 2 modules modules by path ../node_modules/scheduler/ 5.12 KiB 2 modules ../../../Alexa/APLClientLibrary/apl-client-js/index.js 661 KiB [built] [code generated] ../node_modules/object-assign/index.js 2.06 KiB [built] [code generated]

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. Assets: main.bundle.js (831 KiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. Entrypoints: main (831 KiB) main.bundle.js

WARNING in webpack performance recommendations: You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application. For more info visit https://webpack.js.org/guides/code-splitting/

webpack 5.28.0 compiled with 3 warnings in 30975 ms [ 66%] Built target GUIClient [ 96%] Built target SmartScreenSampleAppLib [ 98%] Linking CXX executable SampleApp /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../SmartScreenCapabilityAgents/AlexaPresentation/src/libAlexaPresentation.so: undefined reference to alexaClientSDK::avsCommon::utils::json::jsonUtils::parseJSON(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>*)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::DynamicTokenListDataSourceProvider::DynamicTokenListDataSourceProvider()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::Object(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::truthy() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootConfig::getProperty(apl::RootProperty) const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Content::getDocumentSettings() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::ConfigurationChange::mergeConfigurationChange(apl::ConfigurationChange const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Event::getValue(apl::EventProperty) const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::asString[abi:cxx11]() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Content::addPackage(apl::ImportRequest const&, apl::JsonData&&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::asInt(int) const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference totypeinfo for apl::MetricsTransform' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::settings()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::serialize(rapidjson::MemoryPoolAllocator&) const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::Object(char const*)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::Object()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: libSmartScreenSampleAppLib.so: undefined reference to alexaClientSDK::avsCommon::utils::json::jsonUtils::convertToValue(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&, unsigned long*)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::has(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&) const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to `apl::LoggerFactory::getLogger(apl::LogLevel, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::empty() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference tovtable for apl::MetricsTransform' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::getRootConfig() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::RootContext::serializeVisualContext(rapidjson::MemoryPoolAllocator&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::hasEvent() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::RootContext::getTheme[abi:cxx11]() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::getDirty()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::RootContext::create(apl::Metrics const&, std::shared_ptr const&, apl::RootConfig const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::Object(std::vector<apl::Object, std::allocator<apl::Object> >&&, bool)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::Object(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::Object(double)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Event::getActionRef() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::scrollToRectInComponent(std::shared_ptr<apl::Component> const&, apl::Rect const&, apl::CommandScrollAlign)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::toDebugString[abi:cxx11]() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Action::resolve()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Content::create(apl::JsonData&&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::executeCommands(apl::Object const&, bool)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::MetricsTransform::init()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Action::then(std::function<void (std::shared_ptr<apl::Action> const&)>)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::~Object()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to `apl::LiveMap::broadcastSet(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::isDirty() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::getMap[abi:cxx11]() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::operator=(apl::Object&&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::NULL_OBJECT()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::JsonData::toString[abi:cxx11]() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Content::getExtensionSettings(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::Object(int)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Content::getExtensionRequests[abi:cxx11]() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::topComponent()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::RootContext::getFocusableAreas[abi:cxx11]()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Action::resolve(apl::Rect const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::RootContext::reinflate()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::serializeDataSourceContext(rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::operator=(apl::Object const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::clearPending() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Event::getType() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::configurationChange(apl::ConfigurationChange const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::LoggerFactory::initialize(std::shared_ptr)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Content::getRequestedPackages()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: libSmartScreenSampleAppLib.so: undefined reference toalexaClientSDK::avsCommon::utils::json::jsonUtils::findNode(rapidjson::GenericValue<rapidjson::UTF8, rapidjson::MemoryPoolAllocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, rapidjson::GenericMemberIterator<true, rapidjson::UTF8, rapidjson::MemoryPoolAllocator >*)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::Object(apl::Object&&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Package::version[abi:cxx11]()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Action::addTerminateCallback(std::function<void (std::shared_ptr<apl::Timers> const&)>)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::RootContext::handlePointerEvent(apl::PointerEvent const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::TRUE_OBJECT()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::RootContext::screenLock()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to `apl::Object::get(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&) const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::GraphicContent::create(apl::JsonData&&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::getArray() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::DynamicIndexListDataSourceProvider::DynamicIndexListDataSourceProvider()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::LiveArray::remove(unsigned long, unsigned long)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootConfig::set(apl::RootProperty, apl::Object const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::Object(std::shared_ptr<std::map<std::cxx11::basic_string<char, std::char_traits, std::allocator >, apl::Object, std::less<std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::cxx11::basic_string<char, std::char_traits, std::allocator > const, apl::Object> > > > const&, bool)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::GraphicElement::serialize(rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>&) const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::RootConfig::RootConfig()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to `apl::RootContext::findComponentById(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&) const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::LiveArray::clear()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Content::getBackground(apl::Metrics const&, apl::RootConfig const&) const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::LiveArray::push_back(apl::Object&&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Logger::~Logger()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::getFocused[abi:cxx11]()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::RootContext::setFocus(apl::FocusDirection, apl::Rect const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootConfig::set(std::map<apl::RootProperty, apl::Object, std::less<apl::RootProperty>, std::allocator<std::pair<apl::RootProperty const, apl::Object> > > const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::RootContext::cancelExecution()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::getGradient() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Object::Object(apl::Object const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::Object(std::shared_ptr<std::vector<apl::Object, std::allocator<apl::Object> > > const&, bool)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: libSmartScreenSampleAppLib.so: undefined reference toalexaClientSDK::avsCommon::utils::json::jsonUtils::convertToValue(rapidjson::GenericValue<rapidjson::UTF8, rapidjson::MemoryPoolAllocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator >*)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to `apl::RootContext::invokeExtensionEventHandler(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::map<std::cxx11::basic_string<char, std::char_traits, std::allocator >, apl::Object, std::less<std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::cxx11::basic_string<char, std::char_traits, std::allocator > const, apl::Object> > > const&, bool)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::Object(bool)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::LoggerFactory::instance()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Content::addData(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, apl::JsonData&&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Logger::log(char const, ...)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Event::serialize(rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>&) const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::Gradient::serialize(rapidjson::MemoryPoolAllocator&) const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: libSmartScreenSampleAppLib.so: undefined reference to `alexaClientSDK::avsCommon::utils::json::jsonUtils::convertToValue(rapidjson::GenericValue<rapidjson::UTF8, rapidjson::MemoryPoolAllocator > const&, bool)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Action::resolve(int)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::RootContext::updateTime(double, double)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::Object::getGraphic() const' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference toapl::RootContext::updateCursorPosition(apl::tPoint)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to apl::RootContext::popEvent()' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../SmartScreenCapabilityAgents/AlexaPresentation/src/libAlexaPresentation.so: undefined reference toalexaClientSDK::avsCommon::utils::json::jsonUtils::jsonArrayExists(rapidjson::GenericValue<rapidjson::UTF8, rapidjson::MemoryPoolAllocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)' /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/host/lib/gcc/aarch64-buildroot-linux-gnu/8.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: ../../APLClientLibrary/APLClient/src/libAPLClient.so: undefined reference to `apl::RootContext::clearDirty()' collect2: error: ld returned 1 exit status make[4]: [modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/build.make:93: modules/Alexa/SampleApp/src/SampleApp] Error 1 make[3]: [CMakeFiles/Makefile2:1114: modules/Alexa/SampleApp/src/CMakeFiles/SampleApp.dir/all] Error 2 make[2]: [Makefile:130: all] Error 2 make[1]: [package/pkg-generic.mk:231: /home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/build/alexa-smart-screen-sdk-v2.8.0/.stamp_built] Error 2 make: *** [/home/walker/Programs/Mercury/sourceCodeNew/buildroot/output/rockchip_rk3326_64/Makefile:16: _all] Error 2

Provide the steps to reproduce the issue, if applicable:

Build avs device sdk; build apl-core-library; build alexa-smart-screen-sdk.

Tell us about your environment:

Cross compile on ubuntu20.04 for a RK3326 target board. Target board node.js version is 14.18.1.

What version of the AVS Device SDK are you using?

1.25.0

Tell us what hardware you're using:

Tell us about your OS (Type & version):

Have you tried the same use case with AVS Device SDK SampleApp?

I compiled the same sdk to run on ubuntu20.04 successfully before I cross compile it for RK3326 (with the same version of required libraries), so I think it might be something wrong with my cross compile configuration but I don't know where... Before cross compile smart screen sdk, I have cross compiled avs sdk and it run successfully on my target board.

zhaokai3000 commented 3 years ago

CMakeCache.txt

zhaokai3000 commented 3 years ago

Found the configuration error myself. AVS sdk build missing "-DRAPIDJSON_MEM_OPTIMIZATION=OFF", which cause the jsonUtils api missing error; smart screen sdk build missing "-DAPL_CORE=ON", which cause the apl core library api missing error.