arhi / EthernetSPI2

Allow ESP32-CAM module to talk to W5500 Ethernet module trough HSPI as SPI (VSPI) pins are used to connect the camera module
56 stars 15 forks source link

compilation error report #7

Open ESP32-Muggel opened 1 year ago

ESP32-Muggel commented 1 year ago

Compilation error: cannot declare variable ´server´ to be of abstract type´EthernetServer´

What could be the reason?

techscapades commented 12 months ago

problem is solved here: https://github.com/adafruit/Ethernet2/issues/32

nnn112358 commented on Sep 19, 2018 There is no problem with this.

If new arduino esp32 or make error, need go to c:\Program Files (x86)\Arduino\hardware\espressif\arduino-esp32\cores\esp32\Server.h Change virtual void begin(uint16_t port = 0) = 0; to virtual void begin() = 0;

https://github.com/m5stack/M5Stack/blob/master/examples/Modules/W5500/WebServer/WebServer.ino

For me the location of this file was in: C:\Users{your_user}\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32\Server.h

reopened arduino after opening the file and all was good, hope this helps mate :)