|
楼主 |
发表于 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. [0m
[33mWARNING Please instead use:[0m
[33mWARNING esphome compile PZ.yaml[0m
[32mINFO Reading configuration PZ.yaml...[0m
[32mINFO Generating C++ source...[0m
[32mINFO Compiling app...[0m
*******************************************************************************
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 ==========================
|
|