matlen67/soyosource-powercontroller

New ElegantOTA libary required?

Closed this issue · 0 comments

Hello, I am getting this error code while compiling

In file included from src\main.cpp:34:
.pio\libdeps\nodemcuv2\AsyncElegantOTA\src/AsyncElegantOTA.h:4:2: error: #error AsyncElegantOTA library is deprecated, Please consider migrating to newer ElegantOTA library which now comes with an async mode. Learn More: https:
4 | #error AsyncElegantOTA library is deprecated, Please consider migrating to newer ElegantOTA library which now comes with an async mode. Learn More: https://docs.elegantota.pro/async-mode/
| ^~~~~
In file included from .pio\libdeps\nodemcuv2\ESPAsync_WiFiManager\src/ESPAsync_WiFiManager.h:41,
from src\main.cpp:35:
.pio\libdeps\nodemcuv2\ESPAsync_WiFiManager\src/ESPAsync_WiFiManager.hpp:203:6: warning: #warning USING_ESP8266_CORE_VERSION "3.0.2" [-Wcpp]
203 | #warning USING_ESP8266_CORE_VERSION "3.0.2"
| ^~~~~~~
Compiling .pio\build\nodemcuv2\lib552\ESP Async WebServer\AsyncEventSource.cpp.o
Compiling .pio\build\nodemcuv2\lib552\ESP Async WebServer\AsyncWebSocket.cpp.o
Archiving .pio\build\nodemcuv2\lib2ec\libESP8266WiFi.a
*** [.pio\build\nodemcuv2\src\main.cpp.o] Error 1
================================================================================ [FAILED] Took 16.85 seconds ================================================================================

shoud I use the "ElegantOTA" libary? And if i shoud do so how do I do change the libary?

Thanks for helping :)