#include  Error with WiFiClientSecureBearSSL.h I am new to the Arduino world and it seems that this simple problem is keeping me at the start line.


I use the Generic ESP8266 Module as Board
In my sketch I just write:




#include &lt; ESP8266WiFi.h &gt;
void setup(){}
void loop(){}


The ERROR is :

BearSSLHelpers.h:148:34: error: 'virtual const unsigned char* BearSSL::HashSHA256::oid()' marked override, but does not override

 virtual const unsigned char *oid() override;

                              ^


How am I going to solve that? Any help is appreciated.
You installed the latest git version of the ESP8266WiFi library into your libraries folder and this version is not compatible with the 2.5.2 version of the esp82666 Arduino core.

The ESP8266WiFi library is part of the esp8266 boards package. It should not be installed separately. Delete the library from your libraries folder.