Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error for lolin WEMOS D1 mini Pro #2

Open
sotb11 opened this issue Jan 17, 2019 · 1 comment
Open

Compilation error for lolin WEMOS D1 mini Pro #2

sotb11 opened this issue Jan 17, 2019 · 1 comment

Comments

@sotb11
Copy link

sotb11 commented Jan 17, 2019

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,

             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.

@Jorgen-VikingGod
Copy link
Owner

long time not tested with newer ESP8266 arduino lib version.
Which version of the framework did you use?
I found this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants