Arduino esp8266 编译出错 有能解决 发红包-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2533|回复: 2

Arduino esp8266 编译出错 有能解决 发红包

[复制链接]
发表于 2018-12-11 11:54 | 显示全部楼层 |阅读模式
Arduino:1.8.8 Hourly Build 2018/11/30 12:33 (Windows 2003), 开发板:"WiFiduino, 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

D:\ESP8266\arduino\arduino-builder -dump-prefs -logger=machine -hardware D:\ESP8266\arduino\hardware -hardware C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages -tools D:\ESP8266\arduino\tools-builder -tools D:\ESP8266\arduino\hardware\tools\avr -tools C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages -built-in-libraries D:\ESP8266\arduino\libraries -libraries D:\ESP8266\anjl\libraries -fqbn=esp8266:esp8266:wifiduino:CpuFrequency=80,VTable=flash,FlashSize=4M1M,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None____,FlashErase=none,UploadSpeed=921600 -ide-version=10808 -build-path C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_139050 -warnings=default -build-cache C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_cache_31428 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.xtensa-lx106-elf-gcc-1.20.0-26-gb404fb9-2.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.mkspiffs.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\mkspiffs\0.2.0 -prefs=runtime.tools.mkspiffs-0.2.0.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\mkspiffs\0.2.0 -prefs=runtime.tools.esptool.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\esptool\0.4.13 -prefs=runtime.tools.esptool-0.4.13.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\esptool\0.4.13 -verbose C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\untitled639275577.tmp\sketch_dec11a\sketch_dec11a.ino
D:\ESP8266\arduino\arduino-builder -compile -logger=machine -hardware D:\ESP8266\arduino\hardware -hardware C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages -tools D:\ESP8266\arduino\tools-builder -tools D:\ESP8266\arduino\hardware\tools\avr -tools C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages -built-in-libraries D:\ESP8266\arduino\libraries -libraries D:\ESP8266\anjl\libraries -fqbn=esp8266:esp8266:wifiduino:CpuFrequency=80,VTable=flash,FlashSize=4M1M,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None____,FlashErase=none,UploadSpeed=921600 -ide-version=10808 -build-path C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_139050 -warnings=default -build-cache C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_cache_31428 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.xtensa-lx106-elf-gcc-1.20.0-26-gb404fb9-2.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.mkspiffs.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\mkspiffs\0.2.0 -prefs=runtime.tools.mkspiffs-0.2.0.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\mkspiffs\0.2.0 -prefs=runtime.tools.esptool.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\esptool\0.4.13 -prefs=runtime.tools.esptool-0.4.13.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\esptool\0.4.13 -verbose C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\untitled639275577.tmp\sketch_dec11a\sketch_dec11a.ino
Using board 'wifiduino' from platform in folder: C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2
Using core 'esp8266' from platform in folder: C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2
构建选项已变更,全部重新构建
Detecting libraries used...
"C:\\Documents and Settings\\Administrator\\Local Settings\\Application Data\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Documents and Settings\\Administrator\\Local Settings\\Application Data\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.4.2/tools/sdk/include" "-IC:\\Documents and Settings\\Administrator\\Local Settings\\Application Data\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.4.2/tools/sdk/lwip2/include" "-IC:\\Documents and Settings\\Administrator\\Local Settings\\Application Data\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.4.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\arduino_build_139050/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DARDUINO=10808 -DARDUINO_WIFIDUINO_ESP8266 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"WIFIDUINO_ESP8266\"" -DESP8266 "-IC:\\Documents and Settings\\Administrator\\Local Settings\\Application Data\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.4.2\\cores\\esp8266" "-IC:\\Documents and Settings\\Administrator\\Local Settings\\Application Data\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.4.2\\variants\\wifiduino" "C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\arduino_build_139050\\sketch\\sketch_dec11a.ino.cpp" -o nul
In file included from c:\documents and settings\administrator\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\algorithm:60:0,

                 from C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/Arduino.h:255,

                 from C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_139050\sketch\sketch_dec11a.ino.cpp:1:

c:\documents and settings\administrator\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\utility:68:28: fatal error: bits/c++config.h: No such file or directory

#include <bits/c++config.h>

                            ^

compilation terminated.

exit status 1
为开发板 WiFiduino 编译时出错。

发表于 2018-12-11 15:42 | 显示全部楼层
编译错误 看你用了什么库之类的吧
发表于 2018-12-11 16:42 | 显示全部楼层
是开发板选错了吗,我看你选的WIFIduino,
选NodeMcu1.0试一下
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-11-28 02:35 , Processed in 0.072616 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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