查看: 198|回復: 1
打印 上一主題 下一主題

[未解決] esp8266編譯出錯

[復制鏈接]

該用戶從未簽到

跳轉到指定樓層
樓主
發表于 2019-10-5 22:15 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
如題   請教大家怎么解決

Arduino:1.8.10 (Windows 7), 開發板:"Generic ESP8266 Module, 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), ck, 26 MHz, 40MHz, DOUT (compatible), 512K (no SPIFFS), 2, nonos-sdk 2.2.1 (legacy), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

E:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware E:\Program Files (x86)\Arduino\hardware -hardware C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages -tools E:\Program Files (x86)\Arduino\tools-builder -tools E:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages -built-in-libraries E:\Program Files (x86)\Arduino\libraries -libraries C:\Users\suhong\Documents\Arduino\libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,ssl=all,ResetMethod=ck,CrystalFreq=26,FlashFreq=40,FlashMode=dout,eesz=512K,led=2,sdk=nonosdk221,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -vid-pid=10C4_EA60 -ide-version=10810 -build-path C:\Users\suhong\AppData\Local\Temp\arduino_build_852444 -warnings=none -build-cache C:\Users\suhong\AppData\Local\Temp\arduino_cache_285137 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\mkspiffs\2.5.0-3-20ed2b9 -prefs=runtime.tools.mkspiffs-2.5.0-3-20ed2b9.path=C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\mkspiffs\2.5.0-3-20ed2b9 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-3-20ed2b9.path=C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9 -prefs=runtime.tools.python.path=C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\python\3.7.2-post1 -prefs=runtime.tools.python-3.7.2-post1.path=C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\python\3.7.2-post1 -verbose C:\Users\suhong\Desktop\AdvancedWebServer\AdvancedWebServer\AdvancedWebServer.ino
E:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware E:\Program Files (x86)\Arduino\hardware -hardware C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages -tools E:\Program Files (x86)\Arduino\tools-builder -tools E:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages -built-in-libraries E:\Program Files (x86)\Arduino\libraries -libraries C:\Users\suhong\Documents\Arduino\libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,ssl=all,ResetMethod=ck,CrystalFreq=26,FlashFreq=40,FlashMode=dout,eesz=512K,led=2,sdk=nonosdk221,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -vid-pid=10C4_EA60 -ide-version=10810 -build-path C:\Users\suhong\AppData\Local\Temp\arduino_build_852444 -warnings=none -build-cache C:\Users\suhong\AppData\Local\Temp\arduino_cache_285137 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\mkspiffs\2.5.0-3-20ed2b9 -prefs=runtime.tools.mkspiffs-2.5.0-3-20ed2b9.path=C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\mkspiffs\2.5.0-3-20ed2b9 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-3-20ed2b9.path=C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9 -prefs=runtime.tools.python.path=C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\python\3.7.2-post1 -prefs=runtime.tools.python-3.7.2-post1.path=C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\python\3.7.2-post1 -verbose C:\Users\suhong\Desktop\AdvancedWebServer\AdvancedWebServer\AdvancedWebServer.ino
Using board 'generic' from platform in folder: C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\hardware\esp8266\2.5.2
Using core 'esp8266' from platform in folder: C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\hardware\esp8266\2.5.2
Detecting libraries used...
"C:\\ProgramData\\MATLAB\\SupportPackages\\R2017b\\3P.instrset\\arduinoide.instrset\\idepkgs\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\ProgramData\\MATLAB\\SupportPackages\\R2017b\\3P.instrset\\arduinoide.instrset\\idepkgs\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/include" "-IC:\\ProgramData\\MATLAB\\SupportPackages\\R2017b\\3P.instrset\\arduinoide.instrset\\idepkgs\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/lwip2/include" "-IC:\\ProgramData\\MATLAB\\SupportPackages\\R2017b\\3P.instrset\\arduinoide.instrset\\idepkgs\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\suhong\\AppData\\Local\\Temp\\arduino_build_852444/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10810 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\\ProgramData\\MATLAB\\SupportPackages\\R2017b\\3P.instrset\\arduinoide.instrset\\idepkgs\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266" "-IC:\\ProgramData\\MATLAB\\SupportPackages\\R2017b\\3P.instrset\\arduinoide.instrset\\idepkgs\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\variants\\generic" "C:\\Users\\suhong\\AppData\\Local\\Temp\\arduino_build_852444\\sketch\\AdvancedWebServer.ino.cpp" -o nul
Alternatives for bits/c++config.h: []
ResolveLibrary(bits/c++config.h)
  -> candidates: []
In file included from c:\programdata\matlab\supportpackages\r2017b\3p.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9\xtensa-lx106-elf\include\c++\4.8.2\algorithm:60:0,

                 from C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/Arduino.h:257,

                 from C:\Users\suhong\AppData\Local\Temp\arduino_build_852444\sketch\AdvancedWebServer.ino.cpp:1:

c:\programdata\matlab\supportpackages\r2017b\3p.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9\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 編譯時出錯。


  • TA的每日心情
    開心
    2019-10-16 15:21
  • 簽到天數: 19 天

    [LV.4]偶爾看看III

    沙發
    發表于 2019-10-7 08:56 | 只看該作者
    環境安裝問題吧,試試 零知ESP8266,不需要自己折騰安裝
    您需要登錄后才可以回帖 登錄 | 立即注冊  

    本版積分規則

    熱門推薦

    【Arduino】108種傳感器模塊系列實驗(104)---MAX30102手腕心率
    【Arduino】108種傳感器模
    37款傳感器與模塊的提法,在網絡上廣泛流傳,其實Arduino能夠兼容的傳感器模塊肯定是
    萌新報道 剛購買了一個watchx
    萌新報道 剛購買了一個wat
    就這貨 但是網上讓下載庫 我點加載以后他提示沒法用。。 求大神幫忙 謝謝了
    【Arduino】108種傳感器系列實驗(15)---手指偵測心跳傳感...
    【Arduino】108種傳感器系
    37款傳感器與模塊的提法,在網絡上廣泛流傳,其實Arduino能夠兼容的傳感器模塊肯定是
    【原創】全球最小口袋3D打印機mini one直播教程貼
    【原創】全球最小口袋3D打
    最近閑得蛋疼,沒事搞個掌上3D打印機,先放效果圖吧。 搞了半天,終于能正常打印,
    求助!GM65二維碼掃描模塊怎么用?
    求助!GM65二維碼掃描模塊
    求助!GM65二維碼掃描模塊怎么用? 賣家給的資料真的看不懂該怎么弄。。( ̄▽ ̄)~*
    Copyright   ©2015-2016  Arduino中文社區  Powered by©Discuz!   ( 蜀ICP備14017632號-3 )
    快速回復 返回頂部 返回列表
    六肖六码中特