在尝试编译程序时,我会遇到很多与wificlientsecure库有关的错误,但是据我了解,这是该框架的默认库,所以我对为什么会发生这种情况感到困惑。
示例:
/home/ben/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src/WiFiClientSecure.cpp:74:5: error: '_connected' was not declared in this scope
_connected = other._connected;
/home/ben/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src/ssl_client.cpp:65:9: error: 'WiFiGenericClass' has not been declared
大部分错误似乎与未在此范围内声明_connected有关。
感谢您的帮助。