Open JimmyPedersen opened 1 day ago
also getting the same error
`Compiling .pioenvs/esp32-s3-box-3-5a94d8/src/esphome/components/api/api_connection.o In file included from src/esphome/components/voice_assistant/voice_assistant.h:16, from src/esphome/components/api/api_connection.cpp:22: src/esphome/components/speaker/speaker.h:13:10: fatal error: esphome/components/audio/audio.h: No such file or directory
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated. *** [.pioenvs/esp32-s3-box-3-5a94d8/src/esphome/components/api/api_connection.o] Error 1`
Same here.
INFO ESPHome 2024.11.0
INFO Reading configuration /config/esphome/flur.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing flur (board: esp32-s3-devkitc-1; framework: espidf; platform: platformio/espressif32@5.4.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
- framework-espidf @ 3.40408.0 (4.4.8)
- tool-cmake @ 3.16.9
- tool-ninja @ 1.10.2
- toolchain-esp32ulp @ 2.35.0-20220830
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
Reading CMake configuration...
No dependencies
Compiling .pioenvs/flur/src/esphome/components/api/api_connection.o
Compiling .pioenvs/flur/src/esphome/components/api/api_server.o
Compiling .pioenvs/flur/src/esphome/components/api/list_entities.o
Compiling .pioenvs/flur/src/esphome/components/api/proto.o
In file included from src/esphome/components/voice_assistant/voice_assistant.h:16,
from src/esphome/components/api/api_connection.cpp:22:
src/esphome/components/speaker/speaker.h:13:10: fatal error: esphome/components/audio/audio.h: No such file or directory
#include "esphome/components/audio/audio.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/flur/src/esphome/components/api/api_connection.o] Error 1
========================== [FAILED] Took 4.76 seconds ==========================
Duplicate of https://github.com/esphome/issues/issues/6464
Can confirm that just adding:
audio:
To the YAML (Causing it to include the Audio component) fixes the build issue. It build but I haven't had time to test the resulting firmware yet. Mostly likely everything should be ok
Ps. Credits to CamronBorealis that mentions this fix in https://github.com/esphome/issues/issues/6464#issuecomment-2492079028
The problem
Since updating to 2024.11.0 i can't rebuild the code for the ReSpeaker Lite
Which version of ESPHome has the issue?
ESPHome 2024.11.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.11.2
What platform are you using?
ESP32-IDF
Board
Seeedstudio ReSpeaker Lite
Component causing the issue
audio
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
I also tried to uninstall and reinstall the ESP-Home add-on to make sure all files were properly downloaded from github etc.