Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: It base64 error if use with WifiManager #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mrthiti
Copy link

@mrthiti mrthiti commented Aug 23, 2022

If use with WifiManager that it error about base64 show in below.

image

The root cause is base64.h and base64.c conflict with core libraries.

@MarkBarbieri
Copy link

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

@mrthiti
Copy link
Author

mrthiti commented Aug 24, 2022

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.

@thenewwazoo
Copy link

I just hit this bug. @Mixiaoxiao, it would be wonderful if this (and the other PRs) could be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants