ESP 8266 trying to connect wifi with <ESP8266WiFi.h> missing error

I am trying to test the ESP8266 module with XOD’s built-in example-get-external-ip and it returns the error below:

"C:\Users\tbing\AppData\Local\Temp\xod_temp_sketchbookvWTv0H\xod_1586130293657_sketch\xod_1586130293657_sketch.ino:977:10: fatal error: ESP8266WiFi.h: No such file or directory
#include <ESP8266WiFi.h>
^~~~~~~~~~~~~~~
compilation terminated.

Alternatives for ESP8266WiFi.h: []
ResolveLibrary(ESP8266WiFi.h)
-> candidates: []

Error: exit status 1
Compilation failed."

What am I missing?

I’m not sure whether your board supports this connection.

I used it with the Amica NodeMCU 8266 board and it works perfectly.

Hi ahmadsuki,
I have tried it as you’ve suggested and the same thing happened.
XOD IDE is asking for this missing library.
I don’t think this is a hardware compatibility issue as the compilation phase could not be completed and therefore could not even attempt to run on the module.
Please see the attached image.

This is the board I have:

Firmware version is: NonOS AT Bin V1.7.3

Is there a way to add the asked library manually into XOD environment ans should I try this?
Thanks.

Try to upload as “Generic ESP8266 Module”.

I dont know. Seems this firmware does not allow you to use IDE.
Can you flash the Board with a sketch from an Arduino IDE?
"Blink, for example.

What is a “Generic ESP8266 Module”?
I have managed to get an IP with Arduino IDE.
I have read elsewhere that I was supposed to use xod-dev/esp8266 instead of xod-dev/esp8266-mcu as I am not using the MCU version of the module. However I could not get this working.
Can anyone help me set up for this?
Thank you.