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
26 stars 15 forks source link

arduino 1.8.19 error complilation #72

Open wchpikus opened 1 week ago

wchpikus commented 1 week 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 1 week ago

Probably you have too old boards for esp