乐鑫技术交流
直播中

李斌

7年用户 1407经验值
私信 关注
[问答]

安装idf 5.0 (vscode) 后,esp_wifi.h没有文件或目录是怎么回事?

安装 idf 5.0 (vscode) 后,我无法再构建我的项目,因为:

致命错误:esp_wifi.h:没有这样的文件或目录组件 esp_wifi 列在 der 组件中:
--组件:app_trace app_update bootloader bootloader_support bt cmock 控制台cxx driver efuse esp-tls esp32-wifi-manager esp_adc esp_app_format 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_netif esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifiespcoredump esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mdns mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa

Also listed in the component paths:

-- Component paths : C:/Users/user/esp/esp-idf/components/app_trace ...[截断]... C:/Users/user/esp/esp-idf/components/esp_timer C:/Users/user/esp /esp-idf/components/esp_wifi C:/Users/user/esp/esp-idf/components/espcoredump ...[truncated]...

但是运行gcc时不包括在内:

-IC:/Users/user/esp/esp-idf/components/esp_hw_support/port/esp32/private_include -IC:/Users/user/esp/esp-idf/components/heap/include -IC:/Users/user/ esp/esp-idf/components/log/include -IC:/Users/user/esp/esp-idf/components/soc/include -IC:/Users/user/esp/esp-idf/components/soc/esp32/ . -IC:/Users/user/esp/esp-idf/components/soc/esp32/include -IC:/Users/user/esp/esp-idf/components/hal/esp32/include -IC:/Users/user/ esp/esp-idf/components/hal/include -IC:/Users/user/esp/esp-idf/components/hal/platform_port/include -IC:/Users/user/esp/esp-idf/components/esp_rom/包括-IC:/Users/user/esp/esp-idf/components/esp_rom/include/esp32 -IC:/Users/user/esp/esp-idf/components/esp_rom/esp32 -IC:/Users/user/esp /esp-idf/components/esp_common/include -IC:/Users/user/esp/esp-idf/components/esp_system/include -IC: /用户/用户/esp/esp-idf/components/vfs/include -IC:/Users/user/esp/esp-idf/components/esp_netif/include -IC:/Users/user/esp/esp-idf/components /esp_event/include -IC:/Users/user/esp/esp-idf/components/wpa_supplicant/include -IC:/Users/user/esp/esp-idf/components/wpa_supplicant/port/include -IC:/Users/用户/esp/esp-idf/components/wpa_supplicant/esp_supplicant/include -IC:/Users/user/esp/esp-idf/components/esp_http_server/include -IC:/Users/user/esp/esp-idf/components/ http_parser -mlongcalls -Wno-frame-address -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error= deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=C:/Users/user/esp/humi_temp=. -fmacro-prefix-map=C:

我错过了什么?

更多回帖

发帖
×
20
完善资料,
赚取积分