查看: 1380|回复: 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更新库,要先把之前的删除,不能覆盖安装
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    热门推荐

    5分钟带你快速了解新一代开发板:M5STACK
    5分钟带你快速了解新一代
    一、什么是M5Stack M5Stack是一种模块化、可堆叠扩展的开发板,每个模块
    创客火首发无人机编队套装,开启不一样的人工智能教育
    创客火首发无人机编队套装
    2017年国务院发布《新一代人工智能发展规划》,提出要广泛开展人工智能科普活动,在中
    求解用arduino 让WS2812全灯带无特效常亮并做呼吸灯效果
    求解用arduino 让WS2812全
    本人小白,初学arduino,一边逛论坛一边看网上视频教程,看得比较杂 找了很久也没找
    Arduino物联网开发实例教程
    Arduino物联网开发实例教
    [md] **blinker用户交流群 301438087 (仅限github已Star的用户加群)** ## bli
    萌新求助,小爱语音控制8266没有反应
    萌新求助,小爱语音控制82
    看了有大佬做的远程开机,就想自己试试,我用的是esp8266 nodemcu。程序烧进去以后,
    Copyright   ©2015-2016  Arduino中文社区  Powered by©Discuz!   
    快速回复 返回顶部 返回列表