完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
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:WINDOWSSystem32WindowsPowerShellv1.0powershell.exe -Command cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B d:Downloadesp-adf-masteresp-adf-masterexamplesduerosbuild -S d:Downloadesp-adf-masteresp-adf-masterexamplesdueros”已终止,退出代码: 1。 |
|
相关推荐
1个回答
|
|
这里是一些可能的原因和解决方法:
1. 检查CMakeLists.txt文件的第5行,确保您正确地包含了所需的文件。可能您写错了文件名或者文件路径不正确。 2. 确保您的项目目录结构正确。CMakeLists.txt文件应该位于项目的根目录下。如果它不在正确的位置,CMake可能无法找到其他相关的文件。 3. 检查您的IDE设置。您可能需要在IDE中配置CMake的路径,确保它指向正确的CMake版本。 4. 检查您的环境变量。确保您的环境变量中包含了CMake、编译器和其他工具的正确路径。 5. 您提到了ESP-IDF版本5.1,但错误日志中显示的是2.39.2。请确保您使用的是正确的ESP-IDF版本。如果您需要使用5.1版本,请下载并安装正确的版本。 6. 清理并重新构建项目。有时候,清理项目并重新构建可以解决一些编译问题。 |
|
|
|
只有小组成员才能发言,加入小组>>
982 浏览 1 评论
553浏览 6评论
463浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
447浏览 5评论
448浏览 4评论
418浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-27 23:45 , Processed in 0.515263 second(s), Total 79, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号