NEWS
EspHome Adapter kann nicht mehr compilieren
-
Ich wollte ein neues Device programmieren und jetzt kommt:
INFO Generating C++ source... INFO Compiling app... Processing esp32-083af28e375c (board: nodemcu-32s; framework: arduino; platform: platformio/espressif32 @ 5.2.0) -------------------------------------------------------------------------------- HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3 warning: Calling missing SConscript without error is deprecated. Transition by adding must_exist=False to SConscript calls. Missing SConscript '/home/iobroker/.platformio/packages/framework-arduinoespressif32/tools/platformio-build.py' File "/home/iobroker/.platformio/platforms/espressif32/builder/frameworks/arduino.py", line 41, in <module> LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf Library Manager: Installing FS Warning! Could not find the package with 'FS' requirements for your system 'linux_armv7l' Library Manager: Installing Update Warning! Could not find the package with 'Update' requirements for your system 'linux_armv7l' Library Manager: Installing ESPmDNS Warning! Could not find the package with 'ESPmDNS' requirements for your system 'linux_armv7l' Library Manager: Installing Wire Warning! Could not find the package with 'Wire' requirements for your system 'linux_armv7l' Dependency Graph |-- AsyncTCP-esphome @ 1.2.2 |-- WiFi @ 1.2.7 |-- ESPAsyncWebServer-esphome @ 2.1.0 | |-- AsyncTCP-esphome @ 1.2.2 |-- DNSServer @ 1.1.0 |-- ArduinoJson @ 6.18.5 Compiling .pioenvs/esp32-083af28e375c/src/esphome/components/ads1115/ads1115.cpp.o Compiling .pioenvs/esp32-083af28e375c/src/esphome/components/api/api_connection.cpp.o Compiling .pioenvs/esp32-083af28e375c/src/esphome/components/api/api_frame_helper.cpp.o Compiling .pioenvs/esp32-083af28e375c/src/esphome/components/api/api_pb2.cpp.o In file included from src/esphome/components/sensor/sensor.h:3, from src/esphome/components/ads1115/ads1115.h:4, from src/esphome/components/ads1115/ads1115.cpp:1: src/esphome/core/log.h:14:10: fatal error: esp_err.h: No such file or directory ***************************************************************** * Looking for esp_err.h dependency? Check our library registry! * * CLI > platformio lib search "header:esp_err.h" * Web > https://registry.platformio.org/search?q=header:esp_err.h * ***************************************************************** #include <esp_err.h> ^~~~~~~~~~~ compilation terminated. In file included from src/esphome/components/socket/socket.h:5, from src/esphome/components/api/api_frame_helper.h:13, from src/esphome/components/api/api_connection.h:3, from src/esphome/components/api/api_connection.cpp:1: src/esphome/components/socket/headers.h:116:10: fatal error: sys/ioctl.h: No such file or directory #include <sys/ioctl.h> ^~~~~~~~~~~~~ compilation terminated. In file included from src/esphome/components/socket/socket.h:5, from src/esphome/components/api/api_frame_helper.h:13, from src/esphome/components/api/api_frame_helper.cpp:1: src/esphome/components/socket/headers.h:116:10: fatal error: sys/ioctl.h: No such file or directory #include <sys/ioctl.h> ^~~~~~~~~~~~~ compilation terminated. In file included from src/esphome/components/api/proto.h:4, from src/esphome/components/api/api_pb2.h:5, from src/esphome/components/api/api_pb2.cpp:3: src/esphome/core/log.h:14:10: fatal error: esp_err.h: No such file or directory ***************************************************************** * Looking for esp_err.h dependency? Check our library registry! * * CLI > platformio lib search "header:esp_err.h" * Web > https://registry.platformio.org/search?q=header:esp_err.h * ***************************************************************** #include <esp_err.h> ^~~~~~~~~~~ compilation terminated. *** [.pioenvs/esp32-083af28e375c/src/esphome/components/api/api_pb2.cpp.o] Error 1 *** [.pioenvs/esp32-083af28e375c/src/esphome/components/api/api_frame_helper.cpp.o] Error 1 *** [.pioenvs/esp32-083af28e375c/src/esphome/components/ads1115/ads1115.cpp.o] Error 1 *** [.pioenvs/esp32-083af28e375c/src/esphome/components/api/api_connection.cpp.o] Error 1 ========================= [FAILED] Took 38.35 seconds =========================
Wie bekomme ich das repariert?
-
@wolfgangfb Installier mal neu von GitHub
-
@ahnungsbefreit sagte in EspHome Adapter kann nicht mehr compilieren:
@wolfgangfb Installier mal neu von GitHub
Das war das erste was ich gemacht habe. Hat nichts gebracht. IO-Broker und Raspi auch nue gestartet.
-
-
@thomas-braun sagte in EspHome Adapter kann nicht mehr compilieren:
Gibt es da eine Datei?
find "/usr/lib/" -iname "EXTERNALLY*"
Nein, da kommt kein Ergebnis:
pi@raspberrypi:/opt/iobroker $ find "/usr/lib/" -iname "EXTERNALLY*" pi@raspberrypi:/opt/iobroker $
Aber auf eiem zweitn pi auf dem ESPHome läuft gibt es diese Datei auch nicht.
-
-
@thomas-braun sagte in EspHome Adapter kann nicht mehr compilieren:
python --version apt policy python3-pip-whl python3-full pipx esphome
sagt?
Auf beiden pi Rechnern das gleiche:
pi@raspberrypi:/opt/iobroker $ python --version Python 3.9.2 whl python3-full pipx esphomepi@raspberrypi:/opt/iobroker $ apt policy python3-pip-whl python3-full python3-full: Installiert: (keine) Installationskandidat: 3.9.2-3 Versionstabelle: 3.9.2-3 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages N: Paket python3-pip-whl kann nicht gefunden werden. pi@raspberrypi:/opt/iobroker $ pipx esphome -bash: pipx: Kommando nicht gefunden. pi@raspberrypi:/opt/iobroker $
-
-
@thomas-braun sagte in EspHome Adapter kann nicht mehr compilieren:
@wolfgangfb sagte in EspHome Adapter kann nicht mehr compilieren:
python3-full
Installier das mal.
pi@raspberrypi:/opt/iobroker $ python --version on3-pip-whl python3-full pipx esphomePython 3.9.2 pi@raspberrypi:/opt/iobroker $ apt policy python3-pip-whl python3-full python3-full: Installiert: 3.9.2-3 Installationskandidat: 3.9.2-3 Versionstabelle: *** 3.9.2-3 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/status N: Paket python3-pip-whl kann nicht gefunden werden. pi@raspberrypi:/opt/iobroker $ pipx esphome -bash: pipx: Kommando nicht gefunden. pi@raspberrypi:/opt/iobroker $
Ich habe übrigens gerade festgestellt, dass das Problem nur beim compilieren von ESP32 Code auftritt, ESP8266 funktioniert.
-
Gibt es mittlerweile eine Lösung ? Habe das gleiche Problem .
-
Hallo, leider habe ich keine Lösung. Es beruigt mich, dass ich nciht alleine mit diesem Problem bin (scheint also nicht an mir zu liegen), aber ich vermute dass das einfach so bleibt weil dieser Adapter eben leider nicht mehr weiter entwickelt wird. Schade.
-
Ja, leider . War dabei so praktisch
nun muss ich einen Umweg über die Konsole von Windows gehen . Ist deutlich mühsamer als nun. Kann ich nicht mehr so bequem erledigen wie zuvor .