用mixly编译时一直出错-Arduino中文社区 - Powered by Discuz! Archiver

pigcais 发表于 2021-12-31 11:59

用mixly编译时一直出错


#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就是一直提示缺少这个文件

coloz 发表于 2022-1-2 16:51

可能是mixly库太老的原因,mixly库不是点灯官方维护的,可以到mixly群问问

pigcais 发表于 2022-1-4 14:52

coloz 发表于 2022-1-2 16:51
可能是mixly库太老的原因,mixly库不是点灯官方维护的,可以到mixly群问问

谢谢库是下载了点灯的库覆盖还是这个提示

点灯官方 发表于 2022-1-5 13:12

pigcais 发表于 2022-1-4 14:52
谢谢库是下载了点灯的库覆盖还是这个提示

我们没有提供mixly支持,mixly应该不是直接覆盖就可以用的,建议mixly方面了解库的移植方法。

pigcais 发表于 2022-1-5 14:03

点灯官方 发表于 2022-1-5 13:12
我们没有提供mixly支持,mixly应该不是直接覆盖就可以用的,建议mixly方面了解库的移植方法。 ...

好的 感谢
是解压路径的问题

后来解压到program文件夹下 就正常了
页: [1]
查看完整版本: 用mixly编译时一直出错