You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error messages
In file included from C:\Users\cheungbx\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.1\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:30:0,
from C:\Users\cheungbx\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.1\libraries\ESP8266WiFi\src/WiFiClientSecure.h:41,
from C:\Users\cheungbx\Documents\Arduino\libraries\HTTPSRedirect/HTTPSRedirect.h:10,
from C:\Users\cheungbx\Documents\Arduino\libraries\ESPboy_Arduboy2_lib-master/ESPboyOTA.h:15,
from C:\Users\cheungbx\Documents\Arduino\test\test.ino:1:
C:\Users\cheungbx\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.1\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:40:23: error: 'FS' has not been declared
int initCertStore(FS &fs, const char *indexFileName, const char *dataFileName);
^
C:\Users\cheungbx\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.1\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:46:5: error: 'FS' does not name a type
FS *_fs = nullptr;
^
exit status 1
Error compiling for board LOLIN(WEMOS) D1 R2 & mini.
It seemed that FS class is declared in FS.h with namespace "namespace fs"
And in CertStoreBearSSL.h the FS is used without the noted namespace and CertStoreBearSSL.h does not see this declared FS class.
If will change the instances of FS in CertStoreBearSSL.h that are causing the errors to fs::FS (adding namespace), then it compiles OK.
Basic Infos
Platform
Settings in IDE
Problem Description
In some users, the compilation of https://github.com/ESPboy-edu/ESPboy_OTA causes an error
(different operating systems like windows 10, mac osx, ubuntu)
It seemed that FS class is declared in FS.h with namespace "namespace fs"
And in CertStoreBearSSL.h the FS is used without the noted namespace and CertStoreBearSSL.h does not see this declared FS class.
If will change the instances of FS in CertStoreBearSSL.h that are causing the errors to fs::FS (adding namespace), then it compiles OK.
MCVE Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: