zhouhan0126 / WIFIMANAGER-ESP32

wifimanager-esp32
MIT License
401 stars 135 forks source link

Compilation issue since ESP32 Core includes Webserver #12

Open hipotenusa opened 6 years ago

hipotenusa commented 6 years ago

Since I updated ESP32 core including Webserver library I am experiencing following compilation error:

home/pepito/Arduino/libraries/WIFIMANAGER-ESP32/WiFiManager.h:36:22: error: 'const char HTTP_HEAD []' redeclared as different kind of symbol

As a work around I have deleted Webserver library from /Arduino/hardware/espressif/esp32/libraries and it compiles well but I dont think this is the orthodox way at all.

Can somebody point me out in the right direction? Thanks!!

AmselMax commented 5 years ago

Hi,

I've got the same problem recently, because they are both used in my project. I use now (platformio.ini) :

... lib_deps = https://github.com/zhouhan0126/WIFIMANAGER-ESP32.git https://github.com/zhouhan0126/WebServer-esp32.git ...

That's works for you ?

Else, try to rename all HTTP_HEAD in one library ?

(You play with Arduino IDE ? => PlatformIO 💪 ; )

hellocaio commented 5 years ago

I have the same problem :(

yo2lts commented 5 years ago

SOME PROBLEMS 'const char HTTP_HEAD []' redeclared as different kind of symbol