The compilation failed because the file 'esp_wifi_types.h' could not be found. This file is required by the 'tcpip_adapter' component.

To resolve this issue, you need to make sure that the 'esp_wifi_types.h' file is included in the correct location. You can try the following steps:

  1. Check if the file 'esp_wifi_types.h' exists in the 'components/tcpip_adapter/include' directory of your ESP-IDF project. If it does not exist, you may need to download or update the ESP-IDF framework.

  2. If the file exists, make sure that the path to the 'components/tcpip_adapter/include' directory is correctly specified in your project's build configuration.

  3. If you have recently updated the ESP-IDF framework, try cleaning the build directory and rebuilding the project. This can be done by running the following command in the project directory:

idf.py fullclean

Then, try building the project again:

idf.py build

If the issue persists, you may need to seek further assistance from the ESP-IDF community or support channels.

ESP-IDF Compilation Error: 'esp_wifi_types.h' Not Found

原文地址: https://www.cveoy.top/t/topic/SGi 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录