Support Request #17091
closedBuild of UI package related content and rebuild of the examples fails with adtf 3.14.0
Description
Supportanfrage
CMake Error at ADTFConfig.cmake:68 (find_package): Found package configuration file: C:/EB/Assist/DW/ADTF-3.14.0/pkg/adtfui/adtfui-config.cmake but it set adtfui_FOUND to FALSE so package "adtfui" is considered to be NOT FOUND. Reason given by package: The following imported targets are referenced, but are missing: adtf::streaming3 Call Stack (most recent call first): ADTFConfig.cmake:77 (adtf_private_find_component) src/examples/src/adtf/system_services/gui/demo_player_ctrl/demo_player_ctrl_lib/CMakeLists.txt:5 (find_package)
Lösung
Hi,
there are two problems:
The UI SDK package misses streaming3 SDK as dependency
- It works when your filter requests streaming3 before ui
find_package(ADTF 3 REQUIRED COMPONENTS streaming3 ui filtersdk)
- It works not when only ui is requested (as it should work)
find_package(ADTF 3 REQUIRED COMPONENTS ui filtersdk)
- [ACORE-11472] - Missing dependencies in adtfui package
- add streaming3 requirement before ui (as seen above)
- add
find_package(adtfstreaming3 REQUIRED)
to$(ADTF_DIR)/pkg/adtfui/adtf-config.cmake
Incorrect dependencies in certain examples
- The Qt5 JSON Display (BETA) misses qtvisualisation
find_package(ADTF COMPONENTS filtersdk ui qtvisualisation)
- Demo Calculator RPC Interface Filter misses filtersdk and does not need fep
find_package(ADTF COMPONENTS filtersdk systemsdk remotesdk)
target_link_libraries(${EXAMPLE_TARGETNAME} PUBLIC adtf::remotesdk adtf::filtersdk)
Will be fixed with:
- [ACORE-11474] - Incorrect dependencies in certain examples
Sorry for the convenience and thanks for the report!
Unfortunately the current build system does not matter because dependencies exist, we will also rework our release test to avoid this in future.
All will come as soon as possible with ADTF 3.14.1.
Updated by hidden over 2 years ago
- Project changed from Public Support to 7
- Status changed from New to Customer Feedback Required
- Customer set to ELEKTROBIT
- Topic set to ADTF::ConanCMakeMisc
Hello,
to review the problem we need some more informations.
What your environment looks like, can you send us a step by step explanation to get to this point? Thanks in Advance.
Best regards,
Margarete
Updated by hidden over 2 years ago
hi,
We are trying to build the latest ADTF 3.14.0 (digitalwerk version) in cmake but we are facing this error in Cmake while building.
Updated by hidden over 2 years ago
Are you able to build ADTF 3.14.0 using cmake
Updated by hidden over 2 years ago
we are not building the whole adtf.
we are building only the adtf examples
Updated by hidden over 2 years ago
- Support Level changed from 2nd Level to 3rd Level
Updated by hidden over 2 years ago
- Status changed from Customer Feedback Required to In Progress
Updated by hidden over 2 years ago
- Project changed from 7 to Public Support
- Subject changed from ADTF 3.14.0 Building Examples Fail to Build of UI package related content and rebuild of the examples fails with adtf 3.14.0
- Description updated (diff)
- Status changed from In Progress to To Be Closed
- Private changed from Yes to No
- Resolution set to Product Issue Opened
- Product Issue Numbers set to https://www.cip.audi.de/jira/browse/ACORE-11472; https://www.cip.audi.de/jira/browse/ACORE-11474
Hi,
there are two problems:
The UI SDK package misses streaming3 SDK as dependency
- It works when your filter requests streaming3 before ui
find_package(ADTF 3 REQUIRED COMPONENTS streaming3 ui filtersdk)
- It works not when only ui is requested (as it should work)
find_package(ADTF 3 REQUIRED COMPONENTS ui filtersdk)
- [ACORE-11472] - Missing dependencies in adtfui package
- add streaming3 requirement before ui (as seen above)
- add
find_package(adtfstreaming3 REQUIRED)
to$(ADTF_DIR)/pkg/adtfui/adtf-config.cmake
Incorrect dependencies in certain examples
- The Qt5 JSON Display (BETA) misses qtvisualisation
find_package(ADTF COMPONENTS filtersdk ui qtvisualisation)
- Demo Calculator RPC Interface Filter misses filtersdk and does not need fep
find_package(ADTF COMPONENTS filtersdk systemsdk remotesdk)
target_link_libraries(${EXAMPLE_TARGETNAME} PUBLIC adtf::remotesdk adtf::filtersdk)
Will be fixed with:
- [ACORE-11474] - Incorrect dependencies in certain examples
Sorry for the inconvenience and thanks for the report!
Unfortunately the current build system does not matter because dependencies exist, we will also rework our release test to avoid this in future.
All will come as soon as possible with ADTF 3.14.1.