Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:23:0,vscode错误

In file included from C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:23:0,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:48:1: error: expected class-name before '{' token
{
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h: In constructor 'littlefs_impl::LittleFSConfig::LittleFSConfig(bool)':
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:51:46: error: class 'littlefs_impl::LittleFSConfig' does not have any field named 'FSConfig'
LittleFSConfig(bool autoFormat = true) : FSConfig(FSId, autoFormat) { }
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h: At global scope:
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:128:25: error: 'FSInfo64' has not been declared
virtual bool info64(FSInfo64& info64) {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:177:26: error: 'FSConfig' does not name a type
bool setConfig(const FSConfig &cfg) override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:177:36: error: ISO C++ forbids declaration of 'cfg' with no type [-fpermissive]
bool setConfig(const FSConfig &cfg) override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:165:10: error: 'bool littlefs_impl::LittleFSImpl::mkdir(const char*)' marked override, but does not override
bool mkdir(const char* path) override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:173:10: error: 'bool littlefs_impl::LittleFSImpl::rmdir(const char*)' marked override, but does not override
bool rmdir(const char* path) override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:177:10: error: 'bool littlefs_impl::LittleFSImpl::setConfig(const int&)' marked override, but does not override
bool setConfig(const FSConfig &cfg) override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:256:12: error: 'time_t littlefs_impl::LittleFSImpl::getCreationTime()' marked override, but does not override
time_t getCreationTime() override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h: In member function 'virtual bool littlefs_impl::LittleFSImpl::info64(int&)':
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:133:16: error: request for member 'blockSize' in 'info64', which is of non-class type 'int'
info64.blockSize     = i.blockSize;
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:134:16: error: request for member 'pageSize' in 'info64', which is of non-class type 'int'
info64.pageSize      = i.pageSize;
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:135:16: error: request for member 'maxOpenFiles' in 'info64', which is of non-class type 'int'
info64.maxOpenFiles  = i.maxOpenFiles;
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:136:16: error: request for member 'maxPathLength' in 'info64', which is of non-class type 'int'
info64.maxPathLength = i.maxPathLength;
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:137:16: error: request for member 'totalBytes' in 'info64', which is of non-class type 'int'
info64.totalBytes    = i.totalBytes;
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:138:16: error: request for member 'usedBytes' in 'info64', which is of non-class type 'int'
info64.usedBytes     = i.usedBytes;
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h: In member function 'bool littlefs_impl::LittleFSImpl::setConfig(const int&)':
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:178:18: error: request for member '_type' in 'cfg', which is of non-class type 'const int'
if ((cfg._type != LittleFSConfig::FSId) || _mounted) {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:181:57: error: invalid static_cast from type 'const int*' to type 'const littlefs_impl::LittleFSConfig*'
_cfg = *static_cast<const LittleFSConfig *>(&cfg);
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h: In member function 'virtual bool littlefs_impl::LittleFSImpl::begin()':
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:196:19: error: 'class littlefs_impl::LittleFSConfig' has no member named '_autoFormat'
if (!_cfg._autoFormat || !format()) {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h: In member function 'virtual bool littlefs_impl::LittleFSImpl::format()':
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:229:12: error: '_timeCallback' was not declared in this scope
if(_timeCallback && _tryMount()) {
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:23:0,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h: At global scope:
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:375:9: error: 'int littlefs_impl::LittleFSFileImpl::availableForWrite()' marked override, but does not override
int availableForWrite () override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:411:9: error: conflicting return type specified for 'virtual int littlefs_impl::LittleFSFileImpl::read(uint8_t*, size_t)'
int read(uint8_t* buf, size_t size) override {
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:32:0,
from C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:23,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/FSImpl.h:32:20: error:   overriding 'virtual size_t fs::FileImpl::read(uint8_t*, size_t)'
virtual size_t read(uint8_t* buf, size_t size) = 0;
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:23:0,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:472:10: error: 'bool littlefs_impl::LittleFSFileImpl::truncate(uint32_t)' marked override, but does not override
bool truncate(uint32_t size) override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:507:12: error: 'time_t littlefs_impl::LittleFSFileImpl::getLastWrite()' marked override, but does not override
time_t getLastWrite() override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:517:12: error: 'time_t littlefs_impl::LittleFSFileImpl::getCreationTime()' marked override, but does not override
time_t getCreationTime() override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:537:17: error: 'const char* littlefs_impl::LittleFSFileImpl::fullName() const' marked override, but does not override
const char* fullName() const override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:541:10: error: 'bool littlefs_impl::LittleFSFileImpl::isFile() const' marked override, but does not override
bool isFile() const override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:550:10: error: 'bool littlefs_impl::LittleFSFileImpl::isDirectory() const' marked override, but does not override
bool isDirectory() const override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h: In member function 'virtual void littlefs_impl::LittleFSFileImpl::close()':
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:489:17: error: '_timeCallback' was not declared in this scope
if (_timeCallback && (_flags & LFS_O_WRONLY)) {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h: At global scope:
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:620:12: error: 'time_t littlefs_impl::LittleFSDirImpl::fileTime()' marked override, but does not override
time_t fileTime() override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:636:12: error: 'time_t littlefs_impl::LittleFSDirImpl::fileCreationTime()' marked override, but does not override
time_t fileCreationTime() override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:653:10: error: 'bool littlefs_impl::LittleFSDirImpl::isFile() const' marked override, but does not override
bool isFile() const override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:657:10: error: 'bool littlefs_impl::LittleFSDirImpl::isDirectory() const' marked override, but does not override
bool isDirectory() const override {
^
C:\Users\txwtech\Documents\Arduino\libraries\LittleFS\src/LittleFS.h:661:10: error: 'bool littlefs_impl::LittleFSDirImpl::rewind()' marked override, but does not override
bool rewind() override {
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:36:0,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SD\src/SD.h:95:3: error: reference to 'File' is ambiguous
File open(const char *filename, uint8_t mode = FILE_READ);
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SD\src/SD.h:26:7: note: candidates are: class File
class File : public Stream {
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP8266.h:35:0,
from C:\Users\txwtech\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:100,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:55:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/FS.h:48:7: note:                 class fs::File
class File : public Stream
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:36:0,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SD\src/SD.h:95:3: error: 'File' does not name a type
File open(const char *filename, uint8_t mode = FILE_READ);
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SD\src/SD.h:96:3: error: reference to 'File' is ambiguous
File open(const String &filename, uint8_t mode = FILE_READ) { return open( filename.c_str(), mode ); }
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SD\src/SD.h:26:7: note: candidates are: class File
class File : public Stream {
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP8266.h:35:0,
from C:\Users\txwtech\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:100,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:55:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/FS.h:48:7: note:                 class fs::File
class File : public Stream
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:36:0,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SD\src/SD.h:96:3: error: 'File' does not name a type
File open(const String &filename, uint8_t mode = FILE_READ) { return open( filename.c_str(), mode ); }
^
In file included from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:0:
C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:53:3: error: reference to 'File' is ambiguous
File jpgSdFile;
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:36:0,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SD\src/SD.h:26:7: note: candidates are: class File
class File : public Stream {
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP8266.h:35:0,
from C:\Users\txwtech\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:100,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:55:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/FS.h:48:7: note:                 class fs::File
class File : public Stream
^
In file included from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:0:
C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:53:3: error: 'File' does not name a type
File jpgSdFile;
^
C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:83:44: error: reference to 'File' is ambiguous
JRESULT drawSdJpg (int32_t x, int32_t y, File inFile);
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:36:0,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SD\src/SD.h:26:7: note: candidates are: class File
class File : public Stream {
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP8266.h:35:0,
from C:\Users\txwtech\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:100,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:55:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/FS.h:48:7: note:                 class fs::File
class File : public Stream
^
In file included from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:0:
C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:83:44: error: 'File' has not been declared
JRESULT drawSdJpg (int32_t x, int32_t y, File inFile);
^
C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:87:50: error: reference to 'File' is ambiguous
JRESULT getSdJpgSize(uint16_t *w, uint16_t *h, File inFile);
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:36:0,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SD\src/SD.h:26:7: note: candidates are: class File
class File : public Stream {
^
In file included from C:\Users\txwtech\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP8266.h:35:0,
from C:\Users\txwtech\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:100,
from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:55:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/FS.h:48:7: note:                 class fs::File
class File : public Stream
^
In file included from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:62:0:
C:\Users\txwtech\Documents\Arduino\libraries\TJpg_Decoder\src/TJpg_Decoder.h:87:50: error: 'File' has not been declared
JRESULT getSdJpgSize(uint16_t *w, uint16_t *h, File inFile);
^
d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino: In function 'void getCityCode()':
click-weather:211:35: error: no matching function for call to 'HTTPClient::begin(WiFiClient&, String&)'
httpClient.begin(wifiClient, URL);
^
d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:211:35: note: candidates are:
In file included from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:29:0:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:136:10: note: bool HTTPClient::begin(String)
bool begin(String url);
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:136:10: note:   candidate expects 1 argument, 2 provided
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:137:10: note: bool HTTPClient::begin(String, String)
bool begin(String url, String httpsFingerprint);
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:137:10: note:   no known conversion for argument 1 from 'WiFiClient' to 'String'
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:138:10: note: bool HTTPClient::begin(String, uint16_t, String)
bool begin(String host, uint16_t port, String uri = "/");
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:138:10: note:   no known conversion for argument 1 from 'WiFiClient' to 'String'
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:139:10: note: bool HTTPClient::begin(String, uint16_t, String, String)
bool begin(String host, uint16_t port, String uri, String httpsFingerprint);
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:139:10: note:   candidate expects 4 arguments, 2 provided
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:141:10: note: bool HTTPClient::begin(String, uint16_t, String, bool, String)
bool begin(String host, uint16_t port, String uri, bool https, String httpsFingerprint)  __attribute__ ((deprecated));
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:141:10: note:   candidate expects 5 arguments, 2 provided
d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino: In function 'void getCityWeather()':
click-weather:254:35: error: no matching function for call to 'HTTPClient::begin(WiFiClient&, String&)'
httpClient.begin(wifiClient, URL);
^
d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:254:35: note: candidates are:
In file included from d:\Arduino\esp8266-click-weather-ips-main\click-weather\click-weather.ino:29:0:
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:136:10: note: bool HTTPClient::begin(String)
bool begin(String url);
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:136:10: note:   candidate expects 1 argument, 2 provided
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:137:10: note: bool HTTPClient::begin(String, String)
bool begin(String url, String httpsFingerprint);
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:137:10: note:   no known conversion for argument 1 from 'WiFiClient' to 'String'
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:138:10: note: bool HTTPClient::begin(String, uint16_t, String)
bool begin(String host, uint16_t port, String uri = "/");
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:138:10: note:   no known conversion for argument 1 from 'WiFiClient' to 'String'
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:139:10: note: bool HTTPClient::begin(String, uint16_t, String, String)
bool begin(String host, uint16_t port, String uri, String httpsFingerprint);
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:139:10: note:   candidate expects 4 arguments, 2 provided
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:141:10: note: bool HTTPClient::begin(String, uint16_t, String, bool, String)
bool begin(String host, uint16_t port, String uri, bool https, String httpsFingerprint)  __attribute__ ((deprecated));
^
C:\Users\txwtech\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:141:10: note:   candidate expects 5 arguments, 2 provided
exit status 1
IntelliSense configuration updated. To manually rebuild your IntelliSense configuration run "Ctrl+Alt+I"
[Error] Verifying sketch 'click-weather\click-weather.ino': Exit with code=1
posted @ 2023-07-19 22:01  txwtech  阅读(98)  评论(0编辑  收藏  举报