|
Arduino:1.8.9 (Windows 10), 开发板:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
构建选项已变更,全部重新构建
In file included from C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:10:0,
from C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:36,
from C:\Users\LSG\Documents\Arduino\WIFI\WIFI.ino:3:
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Adapters/BlinkerMQTT.h: In member function 'virtual char* BlinkerMQTT::lastRead()':
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Adapters/BlinkerMQTT.h:684:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "";
^
In file included from C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:78:0,
from C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:11,
from C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:36,
from C:\Users\LSG\Documents\Arduino\WIFI\WIFI.ino:3:
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApiBase.h: In member function 'char* BlinkerBridge_key::getName()':
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApiBase.h:194:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "false";
^
In file included from C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:79:0,
from C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:11,
from C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:36,
from C:\Users\LSG\Documents\Arduino\WIFI\WIFI.ino:3:
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::deviceName()':
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:95:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char * deviceName() { if (isInit) return conn->deviceName(); else return ""; }
^
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::authKey()':
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:96:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char * authKey() { if (isInit) return conn->authKey(); else return ""; }
^
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::dataParse()':
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:214:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char* dataParse() { if (canParse) return conn->lastRead(); else return ""; }
^
In file included from C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:11:0,
from C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:36,
from C:\Users\LSG\Documents\Arduino\WIFI\WIFI.ino:3:
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: At global scope:
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:715:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
BlinkerWidgets_string _BUILTIN_SWITCH = BlinkerWidgets_string(BLINKER_CMD_BUILTIN_SWITCH);
^
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'void BlinkerApi::run()':
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:3380:9: error: 'meshCheck' is not a member of 'BProto {aka BlinkerProtocol}'
BProto::meshCheck();
^
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::bridgeKey(uint8_t)':
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:5568:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "";
^
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::bridgeName(uint8_t)':
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:5575:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "false";
^
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_str(uint8_t)':
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:6140:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "";
^
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_rgb(uint8_t)':
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:6154:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "";
^
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_int(uint8_t)':
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:6160:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "";
^
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_tab(uint8_t)':
C:\Users\LSG\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:6166:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "";
^
C:\Users\LSG\Documents\Arduino\WIFI\WIFI.ino: At global scope:
C:\Users\LSG\Documents\Arduino\WIFI\WIFI.ino:10:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
BlinkerButton Button1("btn-abc");
^
exit status 1
为开发板 NodeMCU 1.0 (ESP-12E Module) 编译时出错。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
这是怎么回事? |
|