SensorsIot / NTP-time-for-ESP8266-and-ESP32

NTP time example for ESP8266 and ESP32 based on standard functionality
46 stars 16 forks source link

identifier "setenv" is undefined #4

Open manmln opened 4 years ago

manmln commented 4 years ago

This line generated an compilation error: setenv("TZ", TZ_INFO, 1); identifier "setenv" is undefined

Platformio Core 4.3.4 Home 3.2.3 [env:esp32doit-devkit-v1] platform = espressif32 board = esp32doit-devkit-v1 framework = arduino

Please advise, Thanks, Michael

stevenengland commented 2 years ago

Hi Michael, this error message can be misleading/without any meaning to the build process. Did you try to compile the code?