查看: 816|回复: 3

[已解答] 用blinker库中的示例hello_wifi例子,用IDE直接验证,提示错误

[复制链接]
  • TA的每日心情
    开心
    2019-7-20 10:38
  • 签到天数: 63 天

    [LV.6]常住居民II

    发表于 2019-3-20 09:50 | 显示全部楼层 |阅读模式
    用blinker库中的示例hello_wifi例子,用IDE直接验证,提示错误,这个是怎么回事,求大神帮忙。下的最新的blinker库



    Arduino:1.8.8 (Windows XP), 开发板:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, 4M (no SPIFFS), 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:\My Documents\Arduino\libraries -fqbn=esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,eesz=4M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10808 -build-path C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_25971 -warnings=none -build-cache C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_cache_554607 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\mkspiffs\2.5.0-3-20ed2b9 -prefs=runtime.tools.mkspiffs-2.5.0-3-20ed2b9.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\mkspiffs\2.5.0-3-20ed2b9 -prefs=runtime.tools.esptool.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\esptool\2.5.0-3-20ed2b9 -prefs=runtime.tools.esptool-2.5.0-3-20ed2b9.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\esptool\2.5.0-3-20ed2b9 -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-3-20ed2b9 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-3-20ed2b9.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9 -verbose D:\My Documents\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:\My Documents\Arduino\libraries -fqbn=esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,eesz=4M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10808 -build-path C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_25971 -warnings=none -build-cache C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_cache_554607 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\mkspiffs\2.5.0-3-20ed2b9 -prefs=runtime.tools.mkspiffs-2.5.0-3-20ed2b9.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\mkspiffs\2.5.0-3-20ed2b9 -prefs=runtime.tools.esptool.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\esptool\2.5.0-3-20ed2b9 -prefs=runtime.tools.esptool-2.5.0-3-20ed2b9.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\esptool\2.5.0-3-20ed2b9 -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-3-20ed2b9 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-3-20ed2b9.path=C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9 -verbose D:\My Documents\Arduino\libraries\blinker-library-master\examples\Blinker_Hello\Hello_WiFi\Hello_WiFi.ino
    Using board 'nodemcuv2' from platform in folder: C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.5.0
    Using core 'esp8266' from platform in folder: C:\Documents and Settings\Administrator\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.5.0
    构建选项已变更,全部重新构建
    Detecting libraries used...
    "C:\\Documents and Settings\\Administrator\\Local Settings\\Application Data\\Arduino15\\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:\\Documents and Settings\\Administrator\\Local Settings\\Application Data\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.5.0/tools/sdk/include" "-IC:\\Documents and Settings\\Administrator\\Local Settings\\Application Data\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.5.0/tools/sdk/lwip2/include" "-IC:\\Documents and Settings\\Administrator\\Local Settings\\Application Data\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.5.0/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\arduino_build_25971/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 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10808 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DFLASHMODE_DIO -DESP8266 "-IC:\\Documents and Settings\\Administrator\\Local Settings\\Application Data\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.5.0\\cores\\esp8266" "-IC:\\Documents and Settings\\Administrator\\Local Settings\\Application Data\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.5.0\\variants\\nodemcu" "C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\arduino_build_25971\\sketch\\Hello_WiFi.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\2.5.0-3-20ed2b9\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.5.0\cores\esp8266/Arduino.h:257,

                     from C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\arduino_build_25971\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-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
    为开发板 NodeMCU 1.0 (ESP-12E Module) 编译时出错。
  • TA的每日心情
    擦汗
    2015-11-5 14:36
  • 签到天数: 3 天

    [LV.2]偶尔看看I

    发表于 2019-4-16 16:23 | 显示全部楼层
    你看下DIE的板材库选择的参数对不对,我下午也遇到这个情况了,只要覆盖掉之后就可以,库文件的话,把解压包下的文件库剪切到库文件夹下就好了
  • TA的每日心情
    郁闷
    2019-5-19 20:25
  • 签到天数: 2 天

    [LV.1]初来乍到

    发表于 2019-5-16 19:01 | 显示全部楼层
    老哥我也失败了 你解决了么

    点评

    按文档操作,不会有问题,文档中有库的下载链接。 另外arduino更新库,要先把之前的删除,不能覆盖安装  详情 回复 发表于 2019-5-16 19:28
  • TA的每日心情
    郁闷
    2018-12-6 22:21
  • 签到天数: 48 天

    [LV.5]常住居民I

    发表于 2019-5-16 19:28 | 显示全部楼层
    yangjinpeng0415 发表于 2019-5-16 19:01
    老哥我也失败了 你解决了么

    按文档操作,不会有问题,文档中有库的下载链接。
    另外arduino更新库,要先把之前的删除,不能覆盖安装
    如果以上内容对你有帮助,你可以通过打赏支持作者
    您需要登录后才可以回帖 登录 | 立即注册  

    本版积分规则

    热门推荐

    基于arduino的delta并联机械手
    基于arduino的delta并联机
    delta并联机械手现在广泛应用于工业,因为资金有限,用舵机做的,底座这些也是
    哪位大神知道怎么用这个16*16的led
    哪位大神知道怎么用这个16
    不知道这里的引脚A,B,C,D,DI,CLK,LAT有什么用啊
    【Arduino】108种传感器模块系列实验(42)---PM2.5韩国粉尘模块
    【Arduino】108种传感器模
    37款传感器与模块的提法,在网络上广泛流传,其实Arduino能够兼容的传感器模块肯定是
    求各位大佬帮帮新人
    求各位大佬帮帮新人
    void setup() { // put your setup code here, to run once: #include delay(50
    Arduino MEGA 与UNO 通过nRF24L模块通讯
    Arduino MEGA 与UNO 通过n
    之前在深水宝很“实惠”的店铺买了一些原件,随手砍了esp8266以及nRF24L*3 因为缺
    Copyright   ©2015-2016  Arduino中文社区  Powered by©Discuz!   ( 蜀ICP备14017632号-3 )
    快速回复 返回顶部 返回列表