esp-matter examples/light_switch build报错问题

92Cccc
Posts: 1
Joined: Thu Aug 28, 2025 9:57 am

esp-matter examples/light_switch build报错问题

Postby 92Cccc » Thu Aug 28, 2025 10:35 am

ESP-IDF版本为 5.4,Matter版本为1.4,python版本为3.10.12;

在Linux系统终端中,依次输入了以下命令:
cd esp-idf; source ./export.sh; cd ..
cd esp-matter; source ./export.sh; cd ..
export IDF_CCACHE_ENABLE=1
cd ./esp-matter/examples/light_switch
idf.py set-target esp32c3
idf.py build
之后终端提示 ninja: build stopped: subcommand failed.

build过程中报错内容如下:
/home/dev/esp-matter/components/esp_matter/esp_matter.h:33:10: fatal error: app/util/att-storage.h: No such file or directory
33 | #include <app/util/att-storage.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

在提示的 esp-matter/connectedhomeip/src/app/util/ 路径下未发现“att-storage.h”文件,该如何解决 idf.py build 产生的问题?
Attachments
截图 2025-08-28 18-25-54.png
截图 2025-08-28 18-25-54.png (434.64 KiB) Viewed 1905 times

Who is online

Users browsing this forum: Applebot, Bytespider and 3 guests