|
最近用esphome编译时出错,望大神指教解决方法
[33mWARNING Calling ESPHome with the configuration before the command is deprec
ated 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
********************************************************************************
Obsolete PIO Core v5.2.5 is used (previous was 6.1.4)
Please remove multiple PIO Cores from a system:
https://docs.platformio.org/page ... o-cores-in-a-system
********************************************************************************
Processing pz (board: esp12e; framework: arduino; platform: platformio/espressif
8266 @ 3.2.0)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp12e.html
PLATFORM: Espressif 8266 (3.2.0) > Espressif ESP8266 ESP-12E
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
- framework-arduinoespressif8266 3.30002.0 (3.0.2)
- tool-esptool 1.413.0 (4.13)
- toolchain-xtensa 2.100300.210717 (10.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ off, Compatibility ~ soft
Library Manager: Installing ottowinter/ESPAsyncTCP-esphome @ 1.2.3
Warning! Please upgrade to the PlatformIO Core 6
Library Manager: Installing esphome/ESPAsyncWebServer-esphome @ 2.1.0
Warning! Please upgrade to the PlatformIO Core 6
Found 35 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <DNSServer> 1.1.1
|-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
Building in release mode
Compiling .pioenvs\pz\src\esphome\components\captive_portal\captive_portal.cpp.o
Compiling .pioenvs\pz\src\esphome\components\ota\ota_backend_arduino_esp32.cpp.o
Compiling .pioenvs\pz\src\esphome\components\ota\ota_backend_arduino_esp8266.cpp
.o
Compiling .pioenvs\pz\src\esphome\components\ota\ota_backend_esp_idf.cpp.o
In file included from src\esphome\components\captive_portal\captive_portal.h:10,
from src\esphome\components\captive_portal\captive_portal.cpp:3
:
src/esphome/components/web_server_base/web_server_base.h:9:10: fatal error: ESPA
syncWebServer.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>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs\pz\src\esphome\components\captive_portal\captive_portal.cpp.o] Err
or 1
========================== [FAILED] Took 7.95 seconds ==========================
求解决方法,不胜感激
|
|