『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
12
返回列表 发新帖
楼主: bhc1365

[技术探讨] 在docker安装的esphome里,用esp32能通过验证,上传时报错

[复制链接]

23

主题

243

帖子

2323

积分

金牌会员

Rank: 6Rank: 6

积分
2323
金钱
2080
HASS币
0
 楼主| 发表于 2022-10-18 21:44:48 | 显示全部楼层
本帖最后由 bhc1365 于 2022-10-18 21:45 编辑

最近esphome接连出错,esp8266编译也出问题了,大家看看怎样解决
[33mWARNING Calling ESPHome with the configuration before the command is deprec
ted and will be removed in the future. 
[33mWARNING Please instead use:
[33mWARNING    esphome compile PZ.yaml
[32mINFO Reading configuration PZ.yaml...
[32mINFO Generating C++ source...
[32mINFO Compiling app...
*******************************************************************************

bsolete PIO Core v5.2.5 is used (previous was 6.1.4)
lease remove multiple PIO Cores from a system:
ttps://docs.platformio.org/page/faq.html#multiple-platformio-cores-in-a-system
*******************************************************************************

rocessing pz (board: esp12e; framework: arduino; platform: platformio/espressif
266 @ 3.2.0)
-------------------------------------------------------------------------------

erbose mode can be enabled via `-v, --verbose` option
ONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp12e.html

LATFORM: Espressif 8266 (3.2.0) > Espressif ESP8266 ESP-12E
ARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
ACKAGES:
- framework-arduinoespressif8266 3.30002.0 (3.0.2)
- tool-esptool 1.413.0 (4.13)
- toolchain-xtensa 2.100300.210717 (10.3.0)
DF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
DF Modes: Finder ~ off, Compatibility ~ soft
ibrary Manager: Installing ottowinter/ESPAsyncTCP-esphome @ 1.2.3
arning! Please upgrade to the PlatformIO Core 6
ibrary Manager: Installing esphome/ESPAsyncWebServer-esphome @ 2.1.0
arning! Please upgrade to the PlatformIO Core 6
ound 35 compatible libraries
canning dependencies...
ependency Graph
-- <DNSServer> 1.1.1
-- <ESP8266WiFi> 1.0
-- <ESP8266mDNS> 1.2
uilding in release mode
ompiling .pioenvs\pz\src\esphome\components\captive_portal\captive_portal.cpp.o

ompiling .pioenvs\pz\src\esphome\components\md5\md5.cpp.o
ompiling .pioenvs\pz\src\esphome\components\mdns\mdns_component.cpp.o
ompiling .pioenvs\pz\src\esphome\components\mdns\mdns_esp32_arduino.cpp.o
n file included from src\esphome\components\captive_portal\captive_portal.h:10,

                from src\esphome\components\captive_portal\captive_portal.cpp:3

rc/esphome/components/web_server_base/web_server_base.h:9:10: fatal error: ESPA
yncWebServer.h: No such file or directory

**************************************************************************
Looking for ESPAsyncWebServer.h dependency? Check our library registry!

CLI  > platformio lib search "header:ESPAsyncWebServer.h"
Web  > https://registry.platformio.org/ ... ESPAsyncWebServer.h

**************************************************************************

   9 | #include <ESPAsyncWebServer.h>
     |          ^~~~~~~~~~~~~~~~~~~~~
ompilation terminated.
** [.pioenvs\pz\src\esphome\components\captive_portal\captive_portal.cpp.o] Err
r 1

========================= [FAILED] Took 6.09 seconds ==========================

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-28 23:58 , Processed in 0.049802 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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