esp-matter icon indicating copy to clipboard operation
esp-matter copied to clipboard

CMake Error When Enabling ESP Insights in ESP-Rainmaker Matter Light Example Build (CON-1272)

Open ShahilDholariya opened this issue 7 months ago • 7 comments

Describe the bug A clear and concise description of what the bug is.

I use combine esp-rainmaker and esp-matter.
When building the ESP-Rainmaker matter_light example, the project builds correctly. However, when enabling ESP Insights in menuconfig, the build fails with the following CMake error:

esp insights project commit: cfdd71e cmake error at /home/dnk067/esp/esp-idf/tools/cmake/component.cmake:381 (__component_get_property): __component_get_property function invoked with incorrect arguments for function named: __component_get_property call stack (most recent call first): /home/dnk067/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip/cmakelists.txt:471 (idf_component_get_property)

This is my Cmake file, set(EXTRA_COMPONENT_DIRS "${MATTER_SDK_PATH}/config/esp32/components" "${ESP_MATTER_PATH}/components" "${ESP_MATTER_PATH}/device_hal/device" "${ESP_MATTER_PATH}/examples/common" "${RMAKER_PATH}/examples/common/app_insights" "${RMAKER_PATH}/components" ${extra_components_dirs_append})

Environment

  • ESP-Matter Commit Id: release 1.0

  • ESP-IDF Commit Id: 4.4.3

  • SoC (eg: ESP32 or ESP32-C3): ESP32S3

  • Device Logs (Please attach the log file):

  • Host Machine OS: Ubuntu 22.04

  • Host Machine Python version: 3.10

  • Commissioner app and versions if present:

  • Home hub app and versions if present:

  • Commissioner's logs if present:

Any additional details ...

ShahilDholariya avatar Jul 24 '24 06:07 ShahilDholariya