Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp8266wifi.h issues #2

Open
argusro opened this issue Aug 9, 2024 · 0 comments
Open

esp8266wifi.h issues #2

argusro opened this issue Aug 9, 2024 · 0 comments

Comments

@argusro
Copy link

argusro commented Aug 9, 2024

I'm trying to run this on NodeMCU, ESP8266, but I'm getting the following compilation error:

esphome run sensor.yaml
INFO ESPHome 2024.7.3
INFO Reading configuration sensor.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing solar-garage-sensor (board: nodemcuv2; framework: arduino; platform: platformio/[email protected])
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Dependency Graph
|-- ESP8266WiFi @ 1.0
Compiling .pioenvs/solar-garage-sensor/src/main.cpp.o
In file included from src/main.cpp:26:
src/EspRC.h:11:10: fatal error: esp8266wifi.h: No such file or directory

*********************************************************************
* Looking for esp8266wifi.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:esp8266wifi.h"
* Web  > https://registry.platformio.org/search?q=header:esp8266wifi.h
*
*********************************************************************

   11 | #include <esp8266wifi.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Archiving .pioenvs/solar-garage-sensor/lib4c5/libESP8266WiFi.a
*** [.pioenvs/solar-garage-sensor/src/main.cpp.o] Error 1
Indexing .pioenvs/solar-garage-sensor/lib4c5/libESP8266WiFi.a
============================================================================== [FAILED] Took 0.54 seconds ==============================================================================

I have tried different esphome installations, on Windows, Ubuntu, RPI, docker, always same error. Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant