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

maybe library conflict - can't compile any longer… #115

Open
Richtation opened this issue Nov 2, 2024 · 0 comments
Open

maybe library conflict - can't compile any longer… #115

Richtation opened this issue Nov 2, 2024 · 0 comments

Comments

@Richtation
Copy link

Richtation commented Nov 2, 2024

Hi,

I just tried to re-build a scatch I have built a few years ago. I updated all libraries, and now, I can't compile…
I even try to use your examples, but get the same error.

So to reproduce: get Arduino IDE and Libraries to the latest version, download your example https://github.com/alanswx/ESPAsyncWiFiManager/blob/master/examples/AutoConnect/AutoConnect.ino and compile…

it will throw:

/Users/XXX/Documents/Arduino/libraries/ESPAsyncWiFiManager/ESPAsyncWiFiManager.cpp:551:24: error: use of deleted function 'DNSServer& DNSServer::operator=(const DNSServer&)'
  551 |   *dnsServer=DNSServer();
      |                        ^
In file included from /Users/XXX/Documents/Arduino/libraries/ESPAsyncWiFiManager/ESPAsyncWiFiManager.h:31,
                 from /Users/XXX/Documents/Arduino/libraries/ESPAsyncWiFiManager/ESPAsyncWiFiManager.cpp:14:
/Users/XXX/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/DNSServer/src/DNSServer.h:67:7: note: 'DNSServer& DNSServer::operator=(const DNSServer&)' is implicitly deleted because the default definition would be ill-formed:
   67 | class DNSServer
         |       ^~~~~~~~~
/Users/XXX/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/DNSServer/src/DNSServer.h:67:7: error: use of deleted function 'std::unique_ptr<_Tp [], _Dp>& std::unique_ptr<_Tp [], _Dp>::operator=(const std::unique_ptr<_Tp [], _Dp>&) [with _Tp = DNSS_REQUESTER; _Dp = std::default_delete<DNSS_REQUESTER []>]'
In file included from /Users/XXX/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.1.0-gcc10.3-e5f9fec/xtensa-lx106-elf/include/c++/10.3.0/memory:83,
                 from /Users/XXX/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.h:32,
                 from /Users/XXX/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.h:28,
                 from /Users/XXX/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/ESP8266WiFi/src/ESP8266WiFi.h:34,
                 from /Users/XXX/Documents/Arduino/libraries/ESPAsyncWiFiManager/ESPAsyncWiFiManager.h:18,
                 from /Users/XXX/Documents/Arduino/libraries/ESPAsyncWiFiManager/ESPAsyncWiFiManager.cpp:14:
/Users/XXX/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.1.0-gcc10.3-e5f9fec/xtensa-lx106-elf/include/c++/10.3.0/bits/unique_ptr.h:724:19: note: declared here
  724 |       unique_ptr& operator=(const unique_ptr&) = delete;
      |                   ^~~~~~~~

exit status 1

Compilation error: exit status 1```

I have installed WifiManager (by tzapu) version 2.0.17

Please let me know if you need any further information…
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

1 participant