In file included from C:\Users\sotb\Documents\Arduino\relay_webserver\relay_webserver.ino:29:0:
C:\Users\sotb\Documents\Arduino\libraries\ESP8266-WiFi-Relay-master/webserver.h:21:46: error: use of deleted function 'ESP8266WebServer::ESP8266WebServer(const ESP8266WebServer&)'
ESP8266WebServer server = ESP8266WebServer(80);
^
In file included from C:\Users\sotb\Documents\Arduino\relay_webserver\relay_webserver.ino:22:0:
C:\Users\sotb\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0-beta2\libraries\ESP8266WebServer\src/ESP8266WebServer.h:70:7: note: 'ESP8266WebServer::ESP8266WebServer(const ESP8266WebServer&)' is implicitly deleted because the default definition would be ill-formed:
class ESP8266WebServer
^
C:\Users\sotb\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0-beta2\libraries\ESP8266WebServer\src/ESP8266WebServer.h:70:7: error: use of deleted function 'std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = HTTPUpload; _Dp = std::default_delete]'
In file included from c:\users\sotb\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9\xtensa-lx106-elf\include\c++\4.8.2\memory:81:0,
from C:\Users\sotb\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0-beta2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,
from C:\Users\sotb\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0-beta2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,
from C:\Users\sotb\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0-beta2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from C:\Users\sotb\Documents\Arduino\relay_webserver\relay_webserver.ino:20:
c:\users\sotb\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9\xtensa-lx106-elf\include\c++\4.8.2\bits\unique_ptr.h:273:7: error: declared here
unique_ptr(const unique_ptr&) = delete;
^
exit status 1
Błąd kompilacji dla płytki LOLIN(WEMOS) D1 mini Pro.
Does not it work with D1 mini Pro?
Arduino:1.8.7 (Windows 10), Płytka:"LOLIN(WEMOS) D1 mini Pro, 80 MHz, Flash, Enabled, 16M (14M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
In file included from C:\Users\sotb\Documents\Arduino\relay_webserver\relay_webserver.ino:29:0:
C:\Users\sotb\Documents\Arduino\libraries\ESP8266-WiFi-Relay-master/webserver.h:21:46: error: use of deleted function 'ESP8266WebServer::ESP8266WebServer(const ESP8266WebServer&)'
ESP8266WebServer server = ESP8266WebServer(80);
In file included from C:\Users\sotb\Documents\Arduino\relay_webserver\relay_webserver.ino:22:0:
C:\Users\sotb\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0-beta2\libraries\ESP8266WebServer\src/ESP8266WebServer.h:70:7: note: 'ESP8266WebServer::ESP8266WebServer(const ESP8266WebServer&)' is implicitly deleted because the default definition would be ill-formed:
class ESP8266WebServer
C:\Users\sotb\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0-beta2\libraries\ESP8266WebServer\src/ESP8266WebServer.h:70:7: error: use of deleted function 'std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = HTTPUpload; _Dp = std::default_delete]'
In file included from c:\users\sotb\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9\xtensa-lx106-elf\include\c++\4.8.2\memory:81:0,
c:\users\sotb\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9\xtensa-lx106-elf\include\c++\4.8.2\bits\unique_ptr.h:273:7: error: declared here
exit status 1 Błąd kompilacji dla płytki LOLIN(WEMOS) D1 mini Pro.