-
Notifications
You must be signed in to change notification settings - Fork 53
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
#31
Comments
Open a terminal and try to uninstall ArduinoJson with For now this project needs an older Version of ArduinoJson |
Yeah both ArduinoJson and ip_addr have been modified in the more recent esp8266. I ran into this also. Fixing the ArduinoJson lib in your system to a <6 version can avoid the ArduinoJson errors or you can convert the code (line by line) to the new format. (why they didn't rename the lib is beyond me when they change the fundamental way it works) You can avoid the ip_addr error by changing the ip_addr reference in the code to ip4_addr (as opposed to ip6_addr). Again, why deprecated support wasn't included smh Another thing that I might suggest is that if the functions are going to be referenced in the code before they are declared in the code (many of the setup* functions appear to have this issue) either re-order the code so the setup functions come first or declare them at the top somewhere. e.g.:
I had to add those for it to compile properly in platformio from a standard gcc [cross compile] call |
I might also strongly suggest that if you are going to use a custom DNSServer, refactor the libs to rename the DNSServer as this should save a lot of headaches over people that have other versions installed. e.g. change DNSServer to rrDNSServer and then modify all references to it in your code and in the library/header |
The text was updated successfully, but these errors were encountered: