SUPLA / supla-device

Create your own Supla device! This software can be used as a library for Arduino IDE, or can be used directly with ESP8266 RTOS SDK and with ESP IDF. It is also possible to compile and run it on Linux and in FreeRTOS.
GNU General Public License v2.0
28 stars 16 forks source link

arduino 1.8.19 error complilation #72

Closed wchpikus closed 3 months ago

wchpikus commented 3 months ago

example from lib, esp8266.

In file included from ......\Documents\Arduino\test-supla\test-supla.ino:40:0: ....\Documents\Arduino\libraries\supla-device-main\src/supla/network/esp_wifi.h: In member function 'virtual void Supla::ESPWifi::setup()': ......Documents\Arduino\libraries\supla-device-main\src/supla/network/esp_wifi.h:72:12: error: 'class ESP8266WiFiClass' has no member named 'setHostname' WiFi.setHostname(hostname); ^ .....\Documents\Arduino\libraries\supla-device-main\src/supla/network/esp_wifi.h:125:12: error: 'class ESP8266WiFiClass' has no member named 'setHostname' WiFi.setHostname(hostname); any suggestion?

klew commented 3 months ago

Probably you have too old boards for esp