Project

General

Profile

Actions

Support Request #17091

closed

Build of UI package related content and rebuild of the examples fails with adtf 3.14.0

Added by hidden about 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Customer:
ELEKTROBIT
Department:
Requester's Priority:
Blocker
Support Level:
3rd Level
Resolution:
Product Issue Opened
Affected Products:
Platform:
Windows 10 64bit
Topic:
ADTF::ConanCMakeMisc
FAQ Links:

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)
That's the problem for some examples, which must be fixed:
  • [ACORE-11472] - Missing dependencies in adtfui package
Current workaround options for custom filter using ui 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)
These are the changes for the workaround to rebuild.
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.

Actions

Also available in: Atom PDF