Hi,
I have had a previously working esp-matter environment on my MacOS, but after attempting to download everything again, I can't get any of the samples to compile.
I am opening the generic_switch example under esp-matter/examples. This previously compiled and flashed onto an esp32-h2 I have, but since deleting the folders and performing the installation again, I now get this error:
[962/1531] Performing configure step for 'chip_gn'
Done. Made 3650 targets from 284 files in 349ms
[963/1531] Performing build step for 'chip_gn'
FAILED: esp-idf/chip/chip_gn-prefix/src/chip_gn-stamp/chip_gn-build esp-idf/chip/lib/libCHIP.a /Users/tomasmcguinness/esp/esp-matter/examples/generic_switch/build/esp-idf/chip/chip_gn-prefix/src/chip_gn-stamp/chip_gn-build /Users/tomasmcguinness/esp/esp-matter/examples/generic_switch/build/esp-idf/chip/lib/libCHIP.a
cd "/Users/tomasmcguinness/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip;/Users/tomasmcguinness/esp/esp-matter/examples/generic_switch/build/esp-idf/chip" && ninja esp32
/bin/sh: line 0: cd: /Users/tomasmcguinness/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip;/Users/tomasmcguinness/esp/esp-matter/examples/generic_switch/build/esp-idf/chip: No such file or directory
[964/1531] Linking C static library esp-idf/openthread/libopenthread.a
ninja: build stopped: subcommand failed.
Performing build step for 'chip_gn' fails on fresh esp-idf and esp-matter installation
-
- Posts: 8
- Joined: Thu Jul 18, 2019 9:20 pm
-
- Posts: 1
- Joined: Sat Nov 16, 2024 4:17 pm
Re: Performing build step for 'chip_gn' fails on fresh esp-idf and esp-matter installation
Exactly the same here.
Using ESP32-C6.
Got this error after doing a fresh install of esprit idf and matter using only the command line.
The same error comes also up when doing a fresh install using only VS Code.
Any fix / workaround for this?
Cheers
Mike
Using ESP32-C6.
Got this error after doing a fresh install of esprit idf and matter using only the command line.
The same error comes also up when doing a fresh install using only VS Code.
Any fix / workaround for this?
Cheers
Mike
Re: Performing build step for 'chip_gn' fails on fresh esp-idf and esp-matter installation
running same issue. any solutions so far? using ESP32-C6
Re: Performing build step for 'chip_gn' fails on fresh esp-idf and esp-matter installation
I found a workaround:
go to build.ninja file
/project/build/build.ninja
find something like
COMMAND = cd "/Users/uladzislau/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip;/Volumes/Uladzislau/embeeded/swift-matter-examples/led-blink/build/esp-idf/chip" && ninja esp32
DESC = Performing build step for 'chip_gn'
restat = 1
and delete first part from the path: /Users/uladzislau/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip;
build again and flash
go to build.ninja file
/project/build/build.ninja
find something like
COMMAND = cd "/Users/uladzislau/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip;/Volumes/Uladzislau/embeeded/swift-matter-examples/led-blink/build/esp-idf/chip" && ninja esp32
DESC = Performing build step for 'chip_gn'
restat = 1
and delete first part from the path: /Users/uladzislau/esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/components/chip;
build again and flash
Who is online
Users browsing this forum: Majestic-12 [Bot] and 76 guests