|
大神,请帮我看看好吗? 库装了0.3,包更新到2.5.2
Arduino:1.8.5 (Windows 10), 开发板:"WeMos D1(Retired), 80 MHz, 115200, 4M (1M SPIFFS)"
构建选项已变更,全部重新构建
In file included from C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/BlinkerESPMQTT.h:10:0,
from C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker.h:36,
from C:\Users\bapti\Documents\Arduino\Blinker_dome\loop_takeONOFF\loop_takeONOFF.ino:3:
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:220:5: error: 'BearSSL' does not name a type
BearSSL::WiFiClientSecure client_mqtt;
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h: In member function 'virtual int BlinkerMQTT::connect()':
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:333:9: error: 'client_mqtt' was not declared in this scope
client_mqtt.setInsecure();
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h: In member function 'int BlinkerMQTT::connectServer()':
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:1624:5: error: 'client_mqtt' was not declared in this scope
client_mqtt.stop();
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:1626:21: error: 'BearSSL' was not declared in this scope
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:1626:46: error: template argument 1 is invalid
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:1626:46: error: template argument 2 is invalid
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:1626:55: error: invalid type in declaration before '(' token
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:1626:60: error: expected type-specifier before 'BearSSL'
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:1629:13: error: base operand of '->' is not a pointer
client_s->setInsecure();
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:1645:21: error: invalid type argument of unary '*' (have 'int')
if (http.begin(*client_s, url_iot)) { // HTTPS
^
In file included from C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:45:0,
from C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/BlinkerESPMQTT.h:11,
from C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker.h:36,
from C:\Users\bapti\Documents\Arduino\Blinker_dome\loop_takeONOFF\loop_takeONOFF.ino:3:
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/../Functions/BlinkerOTA.h: At global scope:
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/../Functions/BlinkerOTA.h:13:12: error: 'BearSSL' does not name a type
extern BearSSL::WiFiClientSecure client_mqtt;
^
In file included from C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:45:0,
from C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/BlinkerESPMQTT.h:11,
from C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker.h:36,
from C:\Users\bapti\Documents\Arduino\Blinker_dome\loop_takeONOFF\loop_takeONOFF.ino:3:
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/../Functions/BlinkerOTA.h: In member function 'bool BlinkerOTA::update()':
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/../Functions/BlinkerOTA.h:122:5: error: 'BearSSL' has not been declared
BearSSL::WiFiClientSecure client_s;
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/../Functions/BlinkerOTA.h:122:31: error: expected ';' before 'client_s'
BearSSL::WiFiClientSecure client_s;
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/../Functions/BlinkerOTA.h:126:5: error: 'client_mqtt' was not declared in this scope
client_mqtt.stop();
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/../Functions/BlinkerOTA.h:129:17: error: 'client_s' was not declared in this scope
bool mfln = client_s.probeMaxFragmentLength(ota_host, ota_port, 1024);
^
In file included from C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/BlinkerESPMQTT.h:11:0,
from C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker.h:36,
from C:\Users\bapti\Documents\Arduino\Blinker_dome\loop_takeONOFF\loop_takeONOFF.ino:3:
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h: In member function 'String BlinkerApi::blinkerServer(uint8_t, const String&, bool)':
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10403:20: error: 'BearSSL' does not name a type
extern BearSSL::WiFiClientSecure client_mqtt;
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10404:13: error: 'client_mqtt' was not declared in this scope
client_mqtt.stop();
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10406:29: error: 'BearSSL' was not declared in this scope
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10406:54: error: template argument 1 is invalid
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10406:54: error: template argument 2 is invalid
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10406:63: error: invalid type in declaration before '(' token
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10406:68: error: expected type-specifier before 'BearSSL'
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10409:21: error: base operand of '->' is not a pointer
client_s->setInsecure();
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10433:37: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10446:37: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10460:37: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10475:37: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10488:37: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10501:37: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10516:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10530:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10543:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10555:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10569:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10582:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10595:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10608:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10620:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10634:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10647:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10660:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10673:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10685:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10698:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10711:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
C:\Users\bapti\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:10725:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
exit status 1
为开发板 WeMos D1(Retired) 编译时出错。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|
|