khoih-prog / EthernetWebServer

This is simple yet complete WebServer library for AVR, AVR Dx, Portenta_H7, Teensy, SAM DUE, SAMD21/SAMD51, nRF52, STM32, RP2040-based, etc. boards running Ethernet shields. The functions are similar and compatible to ESP8266/ESP32 WebServer libraries to make life much easier to port sketches from ESP8266/ESP32. Coexisting now with `ESP32 WebServer` and `ESP8266 ESP8266WebServer` libraries. Ethernet_Generic library is used as default for W5x00 with custom SPI
MIT License
178 stars 49 forks source link

#include <WebServer.h> then compilation error #15

Closed qlalfdu closed 3 years ago

qlalfdu commented 3 years ago

Thank you. Arduino IDE version: 1.8.13 using ESP32

It cannot be used with 'WebServer.h' in the 'SimpleWebSocket' example.

include then compilation error.

khoih-prog commented 3 years ago

This EthernetWebServer is already a WebServer. You don't need to add another WebServer by

#include <WebServer.h>

or duplication linker error will happen.