编译报错esp_dueros

solin0304
Posts: 15
Joined: Wed Jul 26, 2023 6:34 am

编译报错esp_dueros

Postby solin0304 » Fri Aug 04, 2023 10:54 am

idf版本5.1
错误日志如下:

CMake Error at CMakeLists.txt:5 (include):
include could not find requested file:

/CMakeLists.txt


-- Found Git: D:/espressif_vs/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.windows.1")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: D:/espressif_vs/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/espressif_vs/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
-- 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: D:/espressif_vs/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32s3
-- Project sdkconfig file D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig
Loading defaults file D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults...
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:20 CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM was replaced with CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:21 CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM was replaced with CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:22 CONFIG_ESP32_WIFI_STATIC_TX_BUFFER was replaced with CONFIG_ESP_WIFI_STATIC_TX_BUFFER
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:23 CONFIG_ESP32_WIFI_TX_BUFFER_TYPE was replaced with CONFIG_ESP_WIFI_TX_BUFFER_TYPE
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:24 CONFIG_ESP32_WIFI_STATIC_TX_BUFFER_NUM was replaced with CONFIG_ESP_WIFI_STATIC_TX_BUFFER_NUM
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:25 CONFIG_ESP32_WIFI_CACHE_TX_BUFFER_NUM was replaced with CONFIG_ESP_WIFI_CACHE_TX_BUFFER_NUM
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:26 CONFIG_ESP32_WIFI_CSI_ENABLED was replaced with CONFIG_ESP_WIFI_CSI_ENABLED
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:27 CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED was replaced with CONFIG_ESP_WIFI_AMPDU_TX_ENABLED
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:28 CONFIG_ESP32_WIFI_TX_BA_WIN was replaced with CONFIG_ESP_WIFI_TX_BA_WIN
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:29 CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED was replaced with CONFIG_ESP_WIFI_AMPDU_RX_ENABLED
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:30 CONFIG_ESP32_WIFI_RX_BA_WIN was replaced with CONFIG_ESP_WIFI_RX_BA_WIN
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:31 CONFIG_ESP32_WIFI_NVS_ENABLED was replaced with CONFIG_ESP_WIFI_NVS_ENABLED
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:32 CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0 was replaced with CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_0
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:33 CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1 was replaced with CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:34 CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN was replaced with CONFIG_ESP_WIFI_SOFTAP_BEACON_MAX_LEN
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:35 CONFIG_ESP32_WIFI_MGMT_SBUF_NUM was replaced with CONFIG_ESP_WIFI_MGMT_SBUF_NUM
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:37 CONFIG_ESP32_WIFI_IRAM_OPT was replaced with CONFIG_ESP_WIFI_IRAM_OPT
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:38 CONFIG_ESP32_WIFI_RX_IRAM_OPT was replaced with CONFIG_ESP_WIFI_RX_IRAM_OPT
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults:39 CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE was replaced with CONFIG_ESP_WIFI_ENABLE_WPA3_SAE
Loading defaults file D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults.esp32s3...
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults.esp32s3:66 CONFIG_ESP32S3_DEFAULT_CPU_FREQ_80 was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_80
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults.esp32s3:67 CONFIG_ESP32S3_DEFAULT_CPU_FREQ_160 was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_160
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults.esp32s3:68 CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240 was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults.esp32s3:69 CONFIG_ESP32S3_DEFAULT_CPU_FREQ_MHZ was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
D:/Download/esp-adf-master/esp-adf-master/examples/dueros/sdkconfig.defaults.esp32s3:96 CONFIG_ESP32S3_SPIRAM_SUPPORT was replaced with CONFIG_SPIRAM
Compiler supported targets: xtensa-esp32s3-elf

-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Found Python3: d:/espressif_vs/python_env/idf5.1_py3.11_env/Scripts/python.exe (found version "3.11.2") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "esp_dueros" version: 1
-- Adding linker script D:/Download/esp-adf-master/esp-adf-master/examples/dueros/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script D:/espressif_vs/esp-idf/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script D:/espressif_vs/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script D:/espressif_vs/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script D:/espressif_vs/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script D:/espressif_vs/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script D:/espressif_vs/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script D:/espressif_vs/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_coex esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport touch_element ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: D:/espressif_vs/esp-idf/components/app_trace D:/espressif_vs/esp-idf/components/app_update D:/espressif_vs/esp-idf/components/bootloader D:/espressif_vs/esp-idf/components/bootloader_support D:/espressif_vs/esp-idf/components/bt D:/espressif_vs/esp-idf/components/cmock D:/espressif_vs/esp-idf/components/console D:/espressif_vs/esp-idf/components/cxx D:/espressif_vs/esp-idf/components/driver D:/espressif_vs/esp-idf/components/efuse D:/espressif_vs/esp-idf/components/esp-tls D:/espressif_vs/esp-idf/components/esp_adc D:/espressif_vs/esp-idf/components/esp_app_format D:/espressif_vs/esp-idf/components/esp_coex D:/espressif_vs/esp-idf/components/esp_common D:/espressif_vs/esp-idf/components/esp_eth D:/espressif_vs/esp-idf/components/esp_event D:/espressif_vs/esp-idf/components/esp_gdbstub D:/espressif_vs/esp-idf/components/esp_hid D:/espressif_vs/esp-idf/components/esp_http_client D:/espressif_vs/esp-idf/components/esp_http_server D:/espressif_vs/esp-idf/components/esp_https_ota D:/espressif_vs/esp-idf/components/esp_https_server D:/espressif_vs/esp-idf/components/esp_hw_support D:/espressif_vs/esp-idf/components/esp_lcd D:/espressif_vs/esp-idf/components/esp_local_ctrl D:/espressif_vs/esp-idf/components/esp_mm D:/espressif_vs/esp-idf/components/esp_netif D:/espressif_vs/esp-idf/components/esp_netif_stack D:/espressif_vs/esp-idf/components/esp_partition D:/espressif_vs/esp-idf/components/esp_phy D:/espressif_vs/esp-idf/components/esp_pm D:/espressif_vs/esp-idf/components/esp_psram D:/espressif_vs/esp-idf/components/esp_ringbuf D:/espressif_vs/esp-idf/components/esp_rom D:/espressif_vs/esp-idf/components/esp_system D:/espressif_vs/esp-idf/components/esp_timer D:/espressif_vs/esp-idf/components/esp_wifi D:/espressif_vs/esp-idf/components/espcoredump D:/espressif_vs/esp-idf/components/esptool_py D:/espressif_vs/esp-idf/components/fatfs D:/espressif_vs/esp-idf/components/freertos D:/espressif_vs/esp-idf/components/hal D:/espressif_vs/esp-idf/components/heap D:/espressif_vs/esp-idf/components/http_parser D:/espressif_vs/esp-idf/components/idf_test D:/espressif_vs/esp-idf/components/ieee802154 D:/espressif_vs/esp-idf/components/json D:/espressif_vs/esp-idf/components/log D:/espressif_vs/esp-idf/components/lwip D:/Download/esp-adf-master/esp-adf-master/examples/dueros/main D:/espressif_vs/esp-idf/components/mbedtls D:/espressif_vs/esp-idf/components/mqtt D:/espressif_vs/esp-idf/components/newlib D:/espressif_vs/esp-idf/components/nvs_flash D:/espressif_vs/esp-idf/components/openthread D:/espressif_vs/esp-idf/components/partition_table D:/espressif_vs/esp-idf/components/perfmon D:/espressif_vs/esp-idf/components/protobuf-c D:/espressif_vs/esp-idf/components/protocomm D:/espressif_vs/esp-idf/components/pthread D:/espressif_vs/esp-idf/components/sdmmc D:/espressif_vs/esp-idf/components/soc D:/espressif_vs/esp-idf/components/spi_flash D:/espressif_vs/esp-idf/components/spiffs D:/espressif_vs/esp-idf/components/tcp_transport D:/espressif_vs/esp-idf/components/touch_element D:/espressif_vs/esp-idf/components/ulp D:/espressif_vs/esp-idf/components/unity D:/espressif_vs/esp-idf/components/usb D:/espressif_vs/esp-idf/components/vfs D:/espressif_vs/esp-idf/components/wear_levelling D:/espressif_vs/esp-idf/components/wifi_provisioning D:/espressif_vs/esp-idf/components/wpa_supplicant D:/espressif_vs/esp-idf/components/xtensa
-- Configuring incomplete, errors occurred!
See also "D:/Download/esp-adf-master/esp-adf-master/examples/dueros/build/CMakeFiles/CMakeOutput.log".

* 终端进程“C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B d:\Download\esp-adf-master\esp-adf-master\examples\dueros\build -S d:\Download\esp-adf-master\esp-adf-master\examples\dueros”已终止,退出代码: 1。

solin0304
Posts: 15
Joined: Wed Jul 26, 2023 6:34 am

Re: 编译报错esp_dueros

Postby solin0304 » Fri Aug 04, 2023 10:57 am

上传log
Attachments
CMakeOutput.log
(71.04 KiB) Downloaded 1228 times

solin0304
Posts: 15
Joined: Wed Jul 26, 2023 6:34 am

Re: 编译报错esp_dueros

Postby solin0304 » Fri Aug 04, 2023 11:11 am

上传附件
Attachments
4CA3002B-CEE3-4f68-8768-D096B4B3A019.png
4CA3002B-CEE3-4f68-8768-D096B4B3A019.png (45.13 KiB) Viewed 25704 times

ESP_Zombie
Posts: 20
Joined: Tue Mar 15, 2022 6:15 am

Re: 编译报错esp_dueros

Postby ESP_Zombie » Tue Aug 08, 2023 8:10 am

您需要额外配置 ESP-ADF 的路径,请参考 ESP-ADF 编程指南 https://docs.espressif.com/projects/esp ... ml#windows

solin0304
Posts: 15
Joined: Wed Jul 26, 2023 6:34 am

Re: 编译报错esp_dueros

Postby solin0304 » Wed Aug 09, 2023 6:29 am

路径配置好后,编译失败,日志如下:
-- Found Git: D:/SoftMyself/Git/cmd/git.exe (found version "2.35.1.windows.2")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: D:/espressif_vs/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/espressif_vs/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
-- 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: D:/espressif_vs/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
Processing 2 dependencies:
[1/2] espressif/jsmn (1.1.0)
[2/2] idf (5.1.0)
CMake Error at D:/espressif_vs/esp-idf/tools/cmake/build.cmake:266 (message):
Failed to resolve component 'nghttp'.
Call Stack (most recent call first):
D:/espressif_vs/esp-idf/tools/cmake/build.cmake:302 (__build_resolve_and_add_req)
D:/espressif_vs/esp-idf/tools/cmake/build.cmake:303 (__build_expand_requirements)
D:/espressif_vs/esp-idf/tools/cmake/build.cmake:303 (__build_expand_requirements)
D:/espressif_vs/esp-idf/tools/cmake/build.cmake:309 (__build_expand_requirements)
D:/espressif_vs/esp-idf/tools/cmake/build.cmake:595 (__build_expand_requirements)
D:/espressif_vs/esp-idf/tools/cmake/project.cmake:464 (idf_build_process)
CMakeLists.txt:8 (project)


-- Configuring incomplete, errors occurred!
See also "D:/esp-adf-test/esp-adf/examples/dueros/build/CMakeFiles/CMakeOutput.log".

* 终端进程“C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B d:\esp-adf-test\esp-adf\examples\dueros\build -S d:\esp-adf-test\esp-adf\examples\dueros”已终止,退出代码: 1。
请大佬指点下?

Who is online

Users browsing this forum: No registered users and 10 guests