为开发板 Generic ESP8266 Module 编译时出错 跪求大神指点迷-Arduino中文社区 - Powered by Discuz! Archiver

啸月孤狼 发表于 2021-3-20 23:18

为开发板 Generic ESP8266 Module 编译时出错 跪求大神指点迷

AArduino:1.8.0 (Windows XP), 开发板:"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+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\Arduino\hardware -hardware C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -tools C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages -built-in-libraries C:\Program Files\Arduino\libraries -libraries d:\我的文档\Arduino\libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=legacy,ssl=all,ResetMethod=ck,CrystalFreq=26,FlashFreq=40,FlashMode=qio,eesz=1M64,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10800 -build-path C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_224340 -warnings=none -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\2.5.0-4-b40a506 -prefs=runtime.tools.python3.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.mklittlefs.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\mklittlefs\2.5.0-4-fe5bb56 -prefs=runtime.tools.mkspiffs.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\mkspiffs\2.5.0-4-b40a506 -verbose d:\我的文档\Arduino\libraries\blinker-library-master\examples\Blinker_Hello\Hello_WiFi\Hello_WiFi.ino
C:\Program Files\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files\Arduino\hardware -hardware C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -tools C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages -built-in-libraries C:\Program Files\Arduino\libraries -libraries d:\我的文档\Arduino\libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=legacy,ssl=all,ResetMethod=ck,CrystalFreq=26,FlashFreq=40,FlashMode=qio,eesz=1M64,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10800 -build-path C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_224340 -warnings=none -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\2.5.0-4-b40a506 -prefs=runtime.tools.python3.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.mklittlefs.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\mklittlefs\2.5.0-4-fe5bb56 -prefs=runtime.tools.mkspiffs.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\mkspiffs\2.5.0-4-b40a506 -verbose d:\我的文档\Arduino\libraries\blinker-library-master\examples\Blinker_Hello\Hello_WiFi\Hello_WiFi.ino
Using board 'generic' from platform in folder: C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.7.0
Using core 'esp8266' from platform in folder: C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.7.0
Detecting libraries used...
"C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/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.7.0/tools/sdk/include" "-IC:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/lwip2/include" "-IC:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_224340/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11-ffunction-sections -fdata-sections -fno-exceptions-w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0   -DARDUINO=10800 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_GENERIC" -DLED_BUILTIN=2 -DFLASHMODE_QIO-DESP8266 "-IC:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.7.0\cores\esp8266" "-IC:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.7.0\variants\generic" "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_224340\sketch\Hello_WiFi.ino.cpp" -o "nul"
"C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/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.7.0/tools/sdk/include" "-IC:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/lwip2/include" "-IC:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_224340/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11-ffunction-sections -fdata-sections -fno-exceptions-w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0   -DARDUINO=10800 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_GENERIC" -DLED_BUILTIN=2 -DFLASHMODE_QIO-DESP8266 "-IC:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.7.0\cores\esp8266" "-IC:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.7.0\variants\generic" "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_224340\sketch\Hello_WiFi.ino.cpp" -o "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_224340\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from c:\documents and settings\administrator\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\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.7.0\cores\esp8266/Arduino.h:238,

               from C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_224340\sketch\Hello_WiFi.ino.cpp:1:

c:\documents and settings\administrator\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\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
为开发板 Generic ESP8266 Module 编译时出错。

lwq1947 发表于 2021-3-21 11:57

电脑系统是XP吧?
页: [1]
查看完整版本: 为开发板 Generic ESP8266 Module 编译时出错 跪求大神指点迷