老哥,按照你的程序上传了之后,显示出错,我哪一步做错了啊
Arduino:1.8.15 (Windows 7), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src\modules\WebSockets\WebSocketsClient.cpp: In member function 'void WebSocketsClient::loop()':
C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src\modules\WebSockets\WebSocketsClient.cpp:174:30: error: 'class BearSSL::WiFiClientSecure' has no member named 'setCACert'
174 | _client.ssl->setCACert((const uint8_t *)_CA_cert, strlen(_CA_cert) + 1);
| ^~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src\modules\WebSockets\WebSocketsClient.cpp: In member function 'void WebSocketsClient::connectedCb()':
C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src\modules\WebSockets\WebSocketsClient.cpp:761:26: error: 'class BearSSL::WiFiClientSecure' has no member named 'verify'
761 | if(!_client.ssl->verify(_fingerprint.c_str(), _host.c_str())) {
| ^~~~~~
"Blinker.h" 对应多个库
已使用: C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master
未使用:C:\Program Files (x86)\Arduino\libraries\blinker-library-master
"WiFiUdp.h" 对应多个库
已使用: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.1\libraries\ESP8266WiFi
未使用:C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
为开发板 Generic ESP8266 Module 编译时出错。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|