ESP8266WiFi.h: No such file or directory
时间: 2023-09-21 20:09:26 浏览: 236
ESP8266WiFi库文件_esp8266_
5星 · 资源好评率100%
回答: 当出现"ESP8266WiFi.h: No such file or directory"的错误时,通常是由于缺少ESP8266WiFi库引起的。为了解决这个问题,你需要确保已经正确安装了ESP8266的开发板包。你可以在Arduino的开发板管理器中搜索并安装ESP8266的包,或者按照官方地址https://github.com/esp8266/Arduino的指引进行安装。\[1\]另外,你还需要在Arduino IDE中添加ESP8266官方开发板的网址,可以在红色方框中添加附件开发板,网址为https://arduino.esp8266.com/stable/package_esp8266com_index.json。\[2\]完成这些步骤后,重新编译你的代码,应该就能解决这个错误了。
#### 引用[.reference_title]
- *1* [在arduino上使用ESP8266模块编译出现No such file or directory解决办法](https://blog.csdn.net/weixin_44000994/article/details/118412175)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [用arduino编译esp8266代码报错No such file or directory如何解决](https://blog.csdn.net/u014421313/article/details/126489316)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [【玩转esp32】11、编译报错分析:esp_bt.h:No such file or directory](https://blog.csdn.net/freemote/article/details/117388852)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文