Closed argo9 closed 3 years ago
Applied this solution:
To fix ESP32 compile error, just copy the following file into the ESP32 cores/esp32 directory (e.g. ./arduino-1.8.12/hardware/espressif/cores/esp32) to overwrite the old file:
Server.h
found here https://github.com/khoih-prog/Ethernet_Manager the edited server.h here: https://github.com/khoih-prog/Ethernet_Manager/blob/main/LibraryPatches/esp32/cores/esp32/Server.h
As in the readme of aWot described, there is a 'hack' in server.h to do, then it should work ;-)
p.s. unfortunately this doesn't work with asyncwebserver :-(
Thanks man!! We were writing the solution the same time :D
Yeah... also async web server would have been a nice implementation... :( but also aWOT seems a very nice work :D
I'm happy you got it working. @ArminPP thanks for helping to take care if this issue.
Compiler exits in this way:
cannot declare variable 'server' to be of abstract type 'EthernetServer'
Last library release installed, arduino IDE 1.8.12, ESP32 1.0.6 eith ethernet library and w5500 board.
Thanks :)