ubuntu18.04 IDF Build MatterSD中的Light Demo 失败

simplemethane
Posts: 1
Joined: Tue Jul 04, 2023 9:25 am

ubuntu18.04 IDF Build MatterSD中的Light Demo 失败

Postby simplemethane » Tue Jul 04, 2023 9:30 am

jilan@ubuntu:/home/share/samba/matter/esp_matter/light$ idf.py build
/home/share/samba/matter/esp_matter/esp-idf/tools/check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Executing action: all (aliases: build)
Running cmake in directory /home/share/samba/matter/esp_matter/light/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/home/jilan/.espressif/python_env/idf5.2_py3.8_env/bin/python -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /home/share/samba/matter/esp_matter/light"...
CMake Error at CMakeLists.txt:6 (message):
Please set ESP_MATTER_PATH to the path of esp-matter repo


-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the /home/share/samba/matter/esp_matter/light/build/log/idf_py_stderr_output_8012 and /home/share/samba/matter/esp_matter/light/build/log/idf_py_stdout_output_8012



---------------------------

请问 Please set ESP_MATTER_PATH to the path of esp-matter repo 如何设置ESP_MATTER_PATH ?

Luxni_
Posts: 17
Joined: Mon Aug 16, 2021 6:20 am

Re: ubuntu18.04 IDF Build MatterSD中的Light Demo 失败

Postby Luxni_ » Mon Jul 17, 2023 3:36 am

export ESP_MATTER_PATH=esp-matter的路径,
如:
export ESP_MATTER_PATH=~/.espressif/esp-matter

ESP_@In逍遥子
Posts: 132
Joined: Thu Nov 15, 2018 2:06 am

Re: ubuntu18.04 IDF Build MatterSD中的Light Demo 失败

Postby ESP_@In逍遥子 » Wed Jul 19, 2023 6:23 am

请发下整个复现步骤。

根据你的日志提示,可能是没有执行 . ./esp-matter/export.sh

Who is online

Users browsing this forum: No registered users and 46 guests