esp32 Matter project: Failed to resolve component 'chip'

XingpingGY
Posts: 1
Joined: Mon Feb 28, 2022 8:09 am

esp32 Matter project: Failed to resolve component 'chip'

Postby XingpingGY » Mon Feb 28, 2022 8:13 am

I followed the markdown file in example/all-cluster-app/esp32 step by step but failed.
And I cannot solve this problem.
  1. C:\Users\HIU7SGH\tools\connectedhomeip\examples\all-clusters-app\esp32>idf.py menuconfig
  2. Executing action: menuconfig
  3. Running cmake in directory c:\users\hiu7sgh\tools\connectedhomeip\examples\all-clusters-app\esp32\build
  4. Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 c:\users\hiu7sgh\tools\connectedhomeip\examples\all-clusters-app\esp32"...
  5. -- IDF_TARGET not set, using default target: esp32
  6. -- Found Git: C:/Users/HIU7SGH/tools/Espressif/tools/idf-git/2.34.2/cmd/git.exe (found version "2.34.1.windows.1")
  7. -- Component directory C:/Users/HIU7SGH/tools/Espressif/frameworks/esp-idf-v4.4/examples/common_components/cmake does not contain a CMakeLists.txt file. No component will be added
  8. -- Component directory C:/Users/HIU7SGH/tools/Espressif/frameworks/esp-idf-v4.4/examples/common_components/credentials does not contain a CMakeLists.txt file. No component will be added -- Component directory C:/Users/HIU7SGH/tools/Espressif/frameworks/esp-idf-v4.4/examples/common_components/m5stack-tft does not contain a CMakeLists.txt file. No component will be added
  9. -- Component directory C:/Users/HIU7SGH/tools/Espressif/frameworks/esp-idf-v4.4/examples/common_components/pigweed does not contain a CMakeLists.txt file. No component will be added
  10. -- Component directory C:/Users/HIU7SGH/tools/Espressif/frameworks/esp-idf-v4.4/examples/common_components/tracing does not contain a CMakeLists.txt file. No component will be added
  11. -- ccache will be used for faster recompilation
  12. -- 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:/Users/HIU7SGH/tools/Espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
  13. -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Users/HIU7SGH/tools/Espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
  14. -- 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:/Users/HIU7SGH/tools/Espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
  15. -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building ESP-IDF components for target esp32 CMake Error at C:/Users/HIU7SGH/tools/Espressif/frameworks/esp-idf-v4.4/tools/cmake/build.cmake:200 (message): Failed to resolve component 'chip'.
  16. Call Stack (most recent call first): C:/Users/HIU7SGH/tools/Espressif/frameworks/esp-idf-v4.4/tools/cmake/build.cmake:231 (__build_resolve_and_add_req) C:/Users/HIU7SGH/tools/Espressif/frameworks/esp-idf-v4.4/tools/cmake/build.cmake:512 (__build_expand_requirements) C:/Users/HIU7SGH/tools/Espressif/frameworks/esp-idf-v4.4/tools/cmake/project.cmake:378 (idf_build_process) CMakeLists.txt:34 (project)
  17.  
  18. -- Configuring incomplete, errors occurred! See also "C:/Users/HIU7SGH/tools/connectedhomeip/examples/all-clusters-app/esp32/build/CMakeFiles/CMakeOutput.log". cmake failed with exit code 1
Proposed Solution
<I have used git sbumodule --init but it is of no use>

Vinnie
Posts: 2
Joined: Mon Feb 21, 2022 11:59 pm

Re: esp32 Matter project: Failed to resolve component 'chip'

Postby Vinnie » Mon Feb 28, 2022 9:12 pm

Did you idf.py set-target yourchip ???

dbeaven
Posts: 1
Joined: Fri May 27, 2022 6:12 pm

Re: esp32 Matter project: Failed to resolve component 'chip'

Postby dbeaven » Fri May 27, 2022 8:49 pm

I have the same sort of issue and haven't been able to resolve it. I've tried to follow every set of instructions I can find to build the `all-clusters-app` with no success. I did find that pulling `master` for the `connectedhomeip` project gave better instructions in the `README.md` (https://github.com/project-chip/connect ... /README.md) and actually corrected some steps that I had found were missing. Still, the `set-target` seems to fail and the build also fails.

Is there a better series of instructions for building `all-clusters-app`? I started with this blog (https://blog.espressif.com/announcing-m ... 164316c0e3) and have gone down a few rabbit holes since then with no success.

I'm very interested in getting a Matter demo up and running w/ the ESP32.

marcdr
Posts: 1
Joined: Wed Jul 06, 2022 11:58 am

Re: esp32 Matter project: Failed to resolve component 'chip'

Postby marcdr » Wed Jul 06, 2022 12:03 pm

I am having the same problem. I did a fresh install and i tried the esp-matter sdk and the connectedhomeip sdk. Same result every time. I use the ESP-IDF V4.4.1. Does anyone know a solution?

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

Re: esp32 Matter project: Failed to resolve component 'chip'

Postby rshankle » Fri Mar 03, 2023 4:33 pm

Any update on this? I'm having the same issue and tried everything mentioned above.

thanks,
Bob

Who is online

Users browsing this forum: No registered users and 94 guests