Arduino-HomeKit-ESP8266
Arduino-HomeKit-ESP8266 copied to clipboard
fix: It base64 error if use with WifiManager
If use with WifiManager that it error about base64 show in below.

The root cause is base64.h and base64.c conflict with core libraries.
Did you load just this one include in wifi_info.h
?
#include <WiFiManager.h>
I think some examples also include other headers, including base64.h.
When I include only this header, I don't have these conflicts.
Did you manually add extra libraries like ESP8266Webserver? I think that's also not required as it's included in WiFiManager and will also cause this conflict
Yes, I include "#include <WiFiManager.h>" in my project that it Error because in WiFiManager include "base64.h" as well.
I mean WiFiManager use ESP8266Webserver then ESP8266Webserver include base64.h.
I just hit this bug. @Mixiaoxiao, it would be wonderful if this (and the other PRs) could be merged.