things4u / ESP-1ch-Gateway

Version 6 of the single channel gateway
MIT License
358 stars 143 forks source link

ESP.h file required for compilation but not included in lib folder ..... #77

Open olive2205 opened 3 years ago

olive2205 commented 3 years ago

all is in the title ...

amauryverschooren commented 3 years ago

If you select an ESP board in the IDE the error wil go away.

takurx commented 3 years ago

I also got compile error on Ubuntu 20.04 and VScode 1.56.2, Platformio Core 5.1.1 and Home 3.3.4

lib/LoRaCode/LoRaCode.cpp:38:17: fatal error: ESP.h: No such file or directory

I had install platforms that is Espressif32 and Espressif 8266. I could success to compile on windows 10, VScode and Plafformio. It's strange......

PSF1 commented 1 year ago

In esp8266.com, martinayotte say: it is "Esp.h" (case sensitive on Linux)