Compiling Matter demo

rshankle
Posts: 2
Joined: Fri Mar 03, 2023 4:25 pm

Compiling Matter demo

Postby rshankle » Mon Mar 06, 2023 6:43 pm

Hi Folks,

I'm trying to build the Matter "all-clusters-minimal-app" example for esp32. No matter what I try I keep getting the "Failed to resolve component 'chip' " error. I noticed there was a post about this same error about a year ago, but I never saw a fix.

Any suggestions?

thanks much,
Bob

Below is log from the command (windows) prompt:

C:\Espressif\matter2\connectedhomeip\examples\all-clusters-minimal-app\esp32>idf.py set-target esp32
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory 'c:\espressif\matter2\connectedhomeip\examples\all-clusters-minimal-app\esp32\build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory c:\espressif\matter2\connectedhomeip\examples\all-clusters-minimal-app\esp32\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=0 c:\espressif\matter2\connectedhomeip\examples\all-clusters-minimal-app\esp32"...
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.29.2.windows.1")
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
Processing 2 dependencies:
[1/2] espressif/led_strip (1.1.0-alpha)
[2/2] idf (4.4.3)
CMake Error at C:/Espressif/esp-idf-v4.4.3/tools/cmake/build.cmake:201 (message):
Failed to resolve component 'chip'.
Call Stack (most recent call first):
C:/Espressif/esp-idf-v4.4.3/tools/cmake/build.cmake:232 (__build_resolve_and_add_req)
C:/Espressif/esp-idf-v4.4.3/tools/cmake/build.cmake:228 (__build_expand_requirements)
C:/Espressif/esp-idf-v4.4.3/tools/cmake/build.cmake:507 (__build_expand_requirements)
C:/Espressif/esp-idf-v4.4.3/tools/cmake/project.cmake:384 (idf_build_process)
CMakeLists.txt:37 (project)


-- Configuring incomplete, errors occurred!
See also "C:/Espressif/matter2/connectedhomeip/examples/all-clusters-minimal-app/esp32/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1

C:\Espressif\matter2\connectedhomeip\examples\all-clusters-minimal-app\esp32>

Who is online

Users browsing this forum: No registered users and 154 guests