Hi, I’ve been using my Garage Door Opener V2 for a few weeks now with the ESPHome firmware. However, it will not update wirelessly from 2023.12.9 to 2024.2.1 due to CMake not being able to locate both the C and CXX Compiler. Below is my YAML setup as well as error log. Any help would be much appreciated.
substitutions:
name: garage-door-8cefe4
packages:
gdov2_s: github://konnected-io/konnected-esphome/garage-door-GDOv2-S.yaml
esphome:
name: ${name}
name_add_mac_suffix: false
api:
encryption:
key: **************************
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
Updating /config/esphome/garage-door-8cefe4.yaml
------------------------------------------------------------
INFO ESPHome 2024.2.1
INFO Reading configuration /config/esphome/garage-door-8cefe4.yaml...
WARNING GPIO3 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Processing garage-door-8cefe4 (board: esp32-s3-devkitc-1; framework: espidf; platform: platformio/espressif32@5.4.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
- framework-espidf @ 3.40406.240122 (4.4.6)
- 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...
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Configuring incomplete, errors occurred!
See also "/data/build/garage-door-8cefe4/.pioenvs/garage-door-8cefe4/CMakeFiles/CMakeOutput.log".
See also "/data/build/garage-door-8cefe4/.pioenvs/garage-door-8cefe4/CMakeFiles/CMakeError.log".
CMake Error at CMakeLists.txt:2 (include):
include could not find load file:
/data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
========================== [FAILED] Took 8.59 seconds ==========================
===== [ERROR] /config/esphome/garage-door-8cefe4.yaml =====
======================== [SUMMARY] ========================
- /config/esphome/garage-door-8cefe4.yaml: FAILED