|
- #define BLINKER_WIFI
- #include <Blinker.h>
- char auth[] = "1111111111";
- char ssid[] = "TP-LINK_1111";
- char pswd[] = "111111111";
- void setup(){
- Blinker.begin(auth,ssid,pswd);
- }
- void loop(){
- Blinker.run();
- }
复制代码
出错报告:
- Using board 'generic' from platform in folder: D:\Program Files\Mixly2.0-rc0-Win7-x32\mixly2.0-win7-x32\arduino-cli\Arduino15\packages\esp8266\hardware\esp8266\3.0.2
- Using core 'esp8266' from platform in folder: D:\Program Files\Mixly2.0-rc0-Win7-x32\mixly2.0-win7-x32\arduino-cli\Arduino15\packages\esp8266\hardware\esp8266\3.0.2
- Detecting libraries used...
- "D:\\Program Files\\Mixly2.0-rc0-Win7-x32\\mixly2.0-win7-x32\\arduino-cli\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-ID:\\Program Files\\Mixly2.0-rc0-Win7-x32\\mixly2.0-win7-x32\\arduino-cli\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/include" "-ID:\\Program Files\\Mixly2.0-rc0-Win7-x32\\mixly2.0-win7-x32\\arduino-cli\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/lwip2/include" "-ID:\\Program Files\\Mixly2.0-rc0-Win7-x32\\mixly2.0-win7-x32\\arduino-cli\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-ID:\\Program Files\\Mixly2.0-rc0-Win7-x32\\mixly2.0-win7-x32\\mixlyBuild/core" -c -w -Werror=return-type -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10607 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD="ESP8266_GENERIC"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-ID:\\Program Files\\Mixly2.0-rc0-Win7-x32\\mixly2.0-win7-x32\\arduino-cli\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\cores\\esp8266" "-ID:\\Program Files\\Mixly2.0-rc0-Win7-x32\\mixly2.0-win7-x32\\arduino-cli\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\variants\\generic" "D:\\Program Files\\Mixly2.0-rc0-Win7-x32\\mixly2.0-win7-x32\\mixlyBuild\\sketch\\testArduino.ino.cpp" -o nul
- Alternatives for bits/c++config.h: []
- ResolveLibrary(bits/c++config.h)
- -> candidates: []
- In file included from d:\program files\mixly2.0-rc0-win7-x32\mixly2.0-win7-x32\arduino-cli\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,
- from D:\Program Files\Mixly2.0-rc0-Win7-x32\mixly2.0-win7-x32\arduino-cli\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,
- from D:\Program Files\Mixly2.0-rc0-Win7-x32\mixly2.0-win7-x32\mixlyBuild\sketch\testArduino.ino.cpp:1:
- d:\program files\mixly2.0-rc0-win7-x32\mixly2.0-win7-x32\arduino-cli\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory
- 41 | #include <bits/c++config.h>
- | ^~~~~~~~~~~~~~~~~~
- compilation terminated.
- Error during build: exit status 1
复制代码 就是一直提示缺少这个文件
|
|