[Solved] ESP8266 WiFI.h fatal error

help me!

ESP8266_Standalone.ino:28:25: fatal error: ESP8266WIFI.h: No such file or directory
compilation terminated.

1 Like

Please follow instructions in the example code.

Use forum search. This question was answered many times already.

Please also select the right board from the menu… :wink:

I can not find esp8266wifi.h.
Where can I find it?

1 Like

@smartinfo
Please follow instructions in the example sketch, you need to install ESP8266 support (or reinstall).
THEN SELECT the right board in Adtuino IDE menu. thanks.

Same problem. I have instaled https://github.com/esp8266/Arduino from comment… And stay compilator type

ESP8266_Standalone.ino:26:25: fatal error: ESP8266WiFi.h: No such file or directory

compilation terminated.

Please follow the instruction…

https://github.com/blynkkk/blynk-library/tree/master/examples/BoardsAndShields. Choose here

I find it and atache to project…but they stay in error.

had the same issue:

Make sure the ESPboard have been added (and installed) in your board manager (requires Arduino 1.6.3+) Select the GENERIC ESP8266 Module" as your board …

should work …

1 Like

Gee, people really seem to be quite acid about this topic.

I have searched over 9 forums with no answer.
Here are my two cents.

The thing is that the library is called
ESP8266WiFi.h not ESP8266WIFI.h

Wasted 3 hours to find out this mistake.