为开版WiFiduino编译时出错
安装各种东西都是按步骤来的,没有落下什么搞不懂为什么,下面是错误信息希望有大神解读一下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())) {
| ^~~~~~
"WiFiUdp.h" 对应多个库
已使用: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi
未使用:C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
为开发板 WiFiduino 编译时出错。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
package版本老了,按照点灯官网文档重新安装依赖即可。
页:
[1]