为开发板 Generic ESP8266 Module 编译时出错-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1042|回复: 0

[未解决] 为开发板 Generic ESP8266 Module 编译时出错

[复制链接]
发表于 2020-12-2 11:35 | 显示全部楼层 |阅读模式
Arduino:1.8.13 (Windows 10), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), no dtr (aka ck), 26 MHz, 40MHz, QIO (fast), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1 (legacy), v2 Lower Memory, Disabled, None, Only Sketch, 115200"





















In file included from D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:10:0,

                 from D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker.h:36,

                 from C:\Users\Administrator\Desktop\sketch_dec01a\sketch_dec01a.ino:4:

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Adapters/BlinkerMQTT.h: In member function 'virtual char* BlinkerMQTT::lastRead()':

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Adapters/BlinkerMQTT.h:905:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^

In file included from D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:90:0,

                 from D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:11,

                 from D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker.h:36,

                 from C:\Users\Administrator\Desktop\sketch_dec01a\sketch_dec01a.ino:4:

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApiBase.h: In member function 'char* BlinkerBridge_key::getName()':

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApiBase.h:196:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

                 else return "false";

                             ^

In file included from D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:91:0,

                 from D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:11,

                 from D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker.h:36,

                 from C:\Users\Administrator\Desktop\sketch_dec01a\sketch_dec01a.ino:4:

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::deviceName()':

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:104:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

             char * deviceName() { if (isInit) return conn->deviceName(); else return ""; }

                                                                                      ^

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::authKey()':

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:105:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

             char * authKey()    { if (isInit) return conn->authKey(); else return "";  }

                                                                                   ^

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::dataParse()':

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:255:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

         char* dataParse()       { if (canParse) return conn->lastRead(); else return ""; }

                                                                                      ^

In file included from D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:11:0,

                 from D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker.h:36,

                 from C:\Users\Administrator\Desktop\sketch_dec01a\sketch_dec01a.ino:4:

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: At global scope:

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:815:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

         BlinkerWidgets_string _BUILTIN_SWITCH = BlinkerWidgets_string(BLINKER_CMD_BUILTIN_SWITCH);

                                                                                                 ^

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::bridgeKey(uint8_t)':

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7241:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

         else return "";

                     ^

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::bridgeName(uint8_t)':

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7248:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

         else return "false";

                     ^

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_str(uint8_t)':

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7877:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_joy(uint8_t)':

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7884:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

         else return "";

                     ^

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_rgb(uint8_t)':

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7891:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_int(uint8_t)':

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7897:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_tab(uint8_t)':

D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7903:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^

C:\Users\Administrator\Desktop\sketch_dec01a\sketch_dec01a.ino: At global scope:

C:\Users\Administrator\Desktop\sketch_dec01a\sketch_dec01a.ino:13:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

BlinkerButton Button1("btn-abc");//注意:要和APP组件’数据键名’一致

                                ^

In file included from c:\users\administrator\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2\random:52:0,

                 from c:\users\administrator\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_algo.h:65,

                 from c:\users\administrator\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2\algorithm:62,

                 from C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266/Arduino.h:238,

                 from D:\�û�Ŀ¼\�ҵ��ĵ�\Arduino\libraries\blinker-library-master\src\modules\ESPAsyncTCP\ESPAsyncTCPbuffer.cpp:26:

c:\users\administrator\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2\bits\random.tcc: In member function 'void std::seed_seq::generate(_RandomAccessIterator, _RandomAccessIterator)':

c:\users\administrator\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2\bits\random.tcc:3431:8: internal compiler error: Segmentation fault

    if (__k == 0)

        ^

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.

exit status 1

为开发板 Generic ESP8266 Module 编译时出错。



在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-29 18:27 , Processed in 0.098553 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表