求助关于为开发板 Generic ESP8266 Module 编译时出错-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2731|回复: 6

求助关于为开发板 Generic ESP8266 Module 编译时出错

[复制链接]
发表于 2020-3-4 20:57 | 显示全部楼层 |阅读模式
In file included from C:\Users\0bz0\Documents\Arduino\libraries\Blinker\src/BlinkerESPMQTT.h:10:0,

                 from C:\Users\0bz0\Documents\Arduino\libraries\Blinker\src/Blinker.h:122,

                 from C:\Users\0bz0\Desktop\任务\2\sketch_mar04a\sketch_mar04a.ino:6:

C:\Users\0bz0\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerMQTT.h:9:29: fatal error: ESP8266mDNS.h: No such file or directory

     #include <ESP8266mDNS.h>

                             ^

compilation terminated.

exit status 1
为开发板 Generic ESP8266 Module 编译时出错。


发表于 2020-3-4 20:59 | 显示全部楼层
你是不是装的远古8266开发板库啊?
 楼主| 发表于 2020-3-4 21:20 | 显示全部楼层
Creeper666 发表于 2020-3-4 20:59
你是不是装的远古8266开发板库啊?

额最新的装不了
 楼主| 发表于 2020-3-4 21:30 | 显示全部楼层
Creeper666 发表于 2020-3-4 20:59
你是不是装的远古8266开发板库啊?

就这样

就这样

就这样
发表于 2020-3-4 21:57 来自手机 | 显示全部楼层
0bz0 发表于 2020-3-4 21:30
就这样

用社区中的安装包
 楼主| 发表于 2020-3-4 22:29 | 显示全部楼层
daileshan 发表于 2020-3-4 21:57
用社区中的安装包

下载了新的但是现在变成了这个
C:\Users\0bz0\Desktop\任务\2\sketch_mar04a\sketch_mar04a.ino: In function 'void miotPowerState(const String&)':

sketch_mar04a:77:5: error: 'BlinkerMIOT' was not declared in this scope

sketch_mar04a:85:5: error: 'BlinkerMIOT' was not declared in this scope

C:\Users\0bz0\Desktop\任务\2\sketch_mar04a\sketch_mar04a.ino: In function 'void miotColor(int32_t)':

sketch_mar04a:102:3: error: 'BlinkerMIOT' was not declared in this scope

C:\Users\0bz0\Desktop\任务\2\sketch_mar04a\sketch_mar04a.ino: In function 'void miotBright(const String&)':

sketch_mar04a:117:3: error: 'BlinkerMIOT' was not declared in this scope

C:\Users\0bz0\Desktop\任务\2\sketch_mar04a\sketch_mar04a.ino: In function 'void setup()':

sketch_mar04a:143:3: error: 'BlinkerMIOT' was not declared in this scope

exit status 1
'BlinkerMIOT' was not declared in this scope
 楼主| 发表于 2020-3-4 22:46 | 显示全部楼层
daileshan 发表于 2020-3-4 21:57
用社区中的安装包

谢谢问题解决了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-11-28 06:52 , Processed in 0.077655 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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