|
Arduino:1.8.19 (Windows 10), 开发板:"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"
In file included from c:\users\86182\documents\arduino\libraries\blinker\src\modules\websockets\websocketsserver.h:30,
from C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:39,
from C:\Users\86182\Documents\Arduino\libraries\Blinker\src/BlinkerESPMQTT.h:16,
from C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Blinker.h:43,
from C:\Users\86182\Desktop\bendikaiguan\bendikaiguan.ino:19:
c:\users\86182\documents\arduino\libraries\blinker\src\modules\websockets\WebSockets.h:168:38: error: 'WiFiClientSecure' does not name a type; did you mean 'WiFiClient'?
168 | #define WEBSOCKETS_NETWORK_SSL_CLASS WiFiClientSecure
| ^~~~~~~~~~~~~~~~
c:\users\86182\documents\arduino\libraries\blinker\src\modules\websockets\WebSockets.h:286:5: note: in expansion of macro 'WEBSOCKETS_NETWORK_SSL_CLASS'
286 | WEBSOCKETS_NETWORK_SSL_CLASS * ssl;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\86182\Documents\Arduino\libraries\Blinker\src/BlinkerESPMQTT.h:16,
from C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Blinker.h:43,
from C:\Users\86182\Desktop\bendikaiguan\bendikaiguan.ino:19:
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h: In member function 'bool BlinkerMQTT::checkInit()':
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:2763:34: error: 'class WiFiClass' has no member named 'smartConfigDone'
2763 | if (WiFi.smartConfigDone())
| ^~~~~~~~~~~~~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:2769:106: error: 'class WiFiClass' has no member named 'psk'
2769 | BLINKER_LOG(BLINKER_F("SSID: "), WiFi.SSID(), BLINKER_F(" PSWD: "), WiFi.psk());
| ^~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:2781:38: error: 'class WiFiClass' has no member named 'stopSmartConfig'
2781 | WiFi.stopSmartConfig();
| ^~~~~~~~~~~~~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:2798:58: error: request for member 'c_str' in 'WiFi.WiFiClass::SSID()', which is of non-class type 'char*'
2798 | memcpy(loadssid, WiFi.SSID().c_str(), BLINKER_SSID_SIZE);
| ^~~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:2799:51: error: 'class WiFiClass' has no member named 'psk'
2799 | memcpy(loadpswd, WiFi.psk().c_str(), BLINKER_PSWD_SIZE);
| ^~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:2816:30: error: 'class WiFiClass' has no member named 'beginSmartConfig'
2816 | WiFi.beginSmartConfig();
| ^~~~~~~~~~~~~~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h: In member function 'void BlinkerMQTT::multiBegin(const char*, const char*)':
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:2964:10: error: 'class WiFiClass' has no member named 'mode'
2964 | WiFi.mode(WIFI_STA);
| ^~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:2964:15: error: 'WIFI_STA' was not declared in this scope
2964 | WiFi.mode(WIFI_STA);
| ^~~~~~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:2969:14: error: 'class WiFiClass' has no member named 'hostname'; did you mean 'hostByName'?
2969 | WiFi.hostname(_hostname.c_str());
| ^~~~~~~~
| hostByName
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h: In member function 'bool BlinkerMQTT::autoInit()':
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:3028:10: error: 'class WiFiClass' has no member named 'mode'
3028 | WiFi.mode(WIFI_STA);
| ^~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:3028:15: error: 'WIFI_STA' was not declared in this scope
3028 | WiFi.mode(WIFI_STA);
| ^~~~~~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:3033:14: error: 'class WiFiClass' has no member named 'hostname'; did you mean 'hostByName'?
3033 | WiFi.hostname(_hostname.c_str());
| ^~~~~~~~
| hostByName
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h: In member function 'void BlinkerMQTT::smartconfig()':
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:3117:10: error: 'class WiFiClass' has no member named 'mode'
3117 | WiFi.mode(WIFI_STA);
| ^~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:3117:15: error: 'WIFI_STA' was not declared in this scope
3117 | WiFi.mode(WIFI_STA);
| ^~~~~~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:3123:14: error: 'class WiFiClass' has no member named 'hostname'; did you mean 'hostByName'?
3123 | WiFi.hostname(_hostname.c_str());
| ^~~~~~~~
| hostByName
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:3128:10: error: 'class WiFiClass' has no member named 'beginSmartConfig'
3128 | WiFi.beginSmartConfig();
| ^~~~~~~~~~~~~~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h: In member function 'void BlinkerMQTT::connectWiFi(const char*, const char*)':
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:3425:10: error: 'class WiFiClass' has no member named 'mode'
3425 | WiFi.mode(WIFI_STA);
| ^~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:3425:15: error: 'WIFI_STA' was not declared in this scope
3425 | WiFi.mode(WIFI_STA);
| ^~~~~~~~
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:3430:14: error: 'class WiFiClass' has no member named 'hostname'; did you mean 'hostByName'?
3430 | WiFi.hostname(_hostname.c_str());
| ^~~~~~~~
| hostByName
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:3436:20: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
3436 | WiFi.begin(_ssid, _pswd);
| ^~~~~
| |
| const char*
In file included from C:\Users\86182\Desktop\bendikaiguan\bendikaiguan.ino:1:
C:\Users\86182\Documents\Arduino\libraries\WiFi\src/WiFi.h:79:21: note: initializing argument 1 of 'int WiFiClass::begin(char*, const char*)'
79 | int begin(char* ssid, const char *passphrase);
| ~~~~~~^~~~
In file included from C:\Users\86182\Documents\Arduino\libraries\Blinker\src/BlinkerESPMQTT.h:16,
from C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Blinker.h:43,
from C:\Users\86182\Desktop\bendikaiguan\bendikaiguan.ino:19:
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:3439:20: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
3439 | WiFi.begin(_ssid);
| ^~~~~
| |
| const char*
In file included from C:\Users\86182\Desktop\bendikaiguan\bendikaiguan.ino:1:
C:\Users\86182\Documents\Arduino\libraries\WiFi\src/WiFi.h:60:21: note: initializing argument 1 of 'int WiFiClass::begin(char*)'
60 | int begin(char* ssid);
| ~~~~~~^~~~
In file included from C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:50,
from C:\Users\86182\Documents\Arduino\libraries\Blinker\src/BlinkerESPMQTT.h:17,
from C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Blinker.h:43,
from C:\Users\86182\Desktop\bendikaiguan\bendikaiguan.ino:19:
c:\users\86182\documents\arduino\libraries\blinker\src\functions\blinkerota.h: In member function 'bool BlinkerOTA::update()':
c:\users\86182\documents\arduino\libraries\blinker\src\functions\blinkerota.h:125:5: error: 'BearSSL' has not been declared
125 | BearSSL::WiFiClientSecure client_s;
| ^~~~~~~
c:\users\86182\documents\arduino\libraries\blinker\src\functions\blinkerota.h:133:17: error: 'client_s' was not declared in this scope; did you mean 'client_h'?
133 | bool mfln = client_s.probeMaxFragmentLength(ota_host, ota_port, 1024);
| ^~~~~~~~
| client_h
In file included from C:\Users\86182\Documents\Arduino\libraries\Blinker\src/BlinkerESPMQTT.h:17,
from C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Blinker.h:43,
from C:\Users\86182\Desktop\bendikaiguan\bendikaiguan.ino:19:
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h: In member function 'void BlinkerApi::run()':
C:\Users\86182\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:3731:30: error: 'class WiFiClass' has no member named 'reconnect'; did you mean 'disconnect'?
3731 | WiFi.reconnect();
| ^~~~~~~~~
| disconnect
"WiFi.h" 对应多个库
已使用: C:\Users\86182\Documents\Arduino\libraries\WiFi
未使用:d:\Program Files (x86)\Arduino\libraries\WiFi
"Blinker.h" 对应多个库
已使用: C:\Users\86182\Documents\Arduino\libraries\Blinker
未使用:C:\Users\86182\Documents\Arduino\libraries\arduino_212490
exit status 1
为开发板 Generic ESP8266 Module 编译时出错。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|
|