esp-adf icon indicating copy to clipboard operation
esp-adf copied to clipboard

coze_ws_app 编译报错 (AUD-6324)

Open NingZiXi opened this issue 7 months ago • 5 comments

FAILED: esp-idf/esp_system/ld/sections.ld D:/ESP_project/esp_demo/adf_demo/coze_ws_app/build/esp-idf/esp_system/ld/sections.ld esp-idf\esp_system\CMakeFiles\sections.ld-d65dc84.bat 134290cdee66d6a1 Traceback (most recent call last): File "D:\Espressif\frameworks\esp-idf-v5.3.1\tools\ldgen\ldgen.py", line 176, in main() File "D:\Espressif\frameworks\esp-idf-v5.3.1\tools\ldgen\ldgen.py", line 139, in main sdkconfig = SDKConfig(kconfig_file, config_file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Espressif\frameworks\esp-idf-v5.3.1\tools\ldgen\ldgen\sdkconfig.py", line 14, in init self.config = kconfiglib.Kconfig(kconfig_file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Espressif\python_env\idf5.3_py3.11_env\Lib\site-packages\kconfiglib\core.py", line 920, in init self() File "D:\Espressif\python_env\idf5.3_py3.11_env\Lib\site-packages\kconfiglib\core.py", line 934, in call prev = self._parse_block(None, self.top_node, self.top_node) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Espressif\python_env\idf5.3_py3.11_env\Lib\site-packages\kconfiglib\core.py", line 2581, in _parse_block prev = self._parse_block(None, parent, prev) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Espressif\python_env\idf5.3_py3.11_env\Lib\site-packages\kconfiglib\core.py", line 2581, in _parse_block prev = self._parse_block(None, parent, prev) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Espressif\python_env\idf5.3_py3.11_env\Lib\site-packages\kconfiglib\core.py", line 2618, in _parse_block self._parse_block(_T_ENDMENU, node, node) File "D:\Espressif\python_env\idf5.3_py3.11_env\Lib\site-packages\kconfiglib\core.py", line 2566, in _parse_block raise KconfigError( kconfiglib.core.KconfigError: D:/ESP_project/esp_demo/adf_demo/coze_ws_app/main/Kconfig.projbuild:3: '../components/common/Kconfig.in' not found (in 'source "../components/common/Kconfig.in"'). Check that environment variables are set correctly (e.g. $srctree, which is unset or blank). Also note that unset environment variables expand to the empty string. Batch file failed at line 3 with errorcode 1 ninja: build stopped: subcommand failed.

NingZiXi avatar May 08 '25 10:05 NingZiXi

可以将 source "../components/common/Kconfig.in 改为 rsource "../components/common/Kconfig.in

shootao avatar May 08 '25 11:05 shootao

多谢解答  

宁子希 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2025年5月8日(星期四) 晚上7:12 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [espressif/esp-adf] coze_ws_app 编译报错 (AUD-6324) (Issue #1444)

shootao left a comment (espressif/esp-adf#1444)

可以将 source "../components/common/Kconfig.in 改为 rsource "../components/common/Kconfig.in

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

NingZiXi avatar May 08 '25 11:05 NingZiXi

编译时报错 NOTICE: Skipping optional dependency: espressif/esp_hosted NOTICE: Skipping optional dependency: espressif/esp_wifi_remote NOTICE: Using component placed at F:\Espressif\frameworks\esp-idf-v5.4.1\components\gmf_io for dependency "espressif/gmf_io", specified in G:\coze_ws_app\main\idf_component.yml NOTICE: Using component placed at F:\Espressif\frameworks\esp-idf-v5.4.1\components\gmf_misc for dependency "espressif/gmf_misc", specified in G:\coze_ws_app\main\idf_component.yml NOTICE: Using component placed at F:\Espressif\frameworks\esp-idf-v5.4.1\examples\common_components\protocol_examples_common for dependency "protocol_examples_common", specified in G:\coze_ws_app\main\idf_component.yml CMake Error at F:/Espressif/frameworks/esp-idf-v5.4.1/tools/cmake/build.cmake:610 (message): ERROR: Error during request

URL: https://components-file.espressif.com/components/espressif/esp_gmf_audio.json

Status code: 403 Forbidden

Call Stack (most recent call first): F:/Espressif/frameworks/esp-idf-v5.4.1/tools/cmake/project.cmake:717 (idf_build_process) CMakeLists.txt:7 (project)

...-- Configuring incomplete, errors occurred! cmake failed with exit code 1, output of the command is in the G:\coze_ws_app\build\log\idf_py_stderr_output_29092 and G:\coze_ws_app\build\log\idf_py_stdout_output_29092

wjwrab0223 avatar May 14 '25 05:05 wjwrab0223

@wjwrab0223 像是访问失败, 可以再试一下

shootao avatar May 15 '25 09:05 shootao

参看 https://github.com/espressif/esp-adf/issues/1450#issuecomment-2883247259

wujiangang avatar May 15 '25 10:05 wujiangang

我将关闭这个长时间不活跃的问题,如果有进一步的更新请重新打开或新建Issue。

jason-mao avatar Jul 17 '25 03:07 jason-mao