|
程序文件肯定没有问题,因为之前下载一直是成功的.可以这几天编译时一直有错误提示,错误提示如下:Arduino:1.8.13 (Windows 10), 开发板:"WiFiduino, 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, 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Program Files (x86)\Arduino\libraries\blinker-library-master\src\modules\WebSockets\WebSocketsClient.cpp: In member function 'void WebSocketsClient::loop()':
C:\Program Files (x86)\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:\Program Files (x86)\Arduino\libraries\blinker-library-master\src\modules\WebSockets\WebSocketsClient.cpp: In member function 'void WebSocketsClient::connectedCb()':
C:\Program Files (x86)\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())) {
| ^~~~~~
为开发板 WiFiduino 编译时出错。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
请大师们帮忙找找原因是什么?
|
|