Closed malves61 closed 3 years ago
There is something wrong with your library usage.
The ESP8266 doesn't need WiFi101
library. Adding it will create sure conflict errors.
Just remove all instances of WiFi101
and it'll be OK.
|-- <DNSServer> 1.1.1
| | |-- <WiFi101> 0.16.1
| |-- <ESP8266WiFi> 1.0
|-- <DNSServer> 1.1.1
| |-- <WiFi101> 0.16.1
|-- <ESP8266WiFi> 1.0
|-- <LittleFS(esp8266)> 0.1.0
|-- <WiFi101> 0.16.1
It's also possible you don't use the correct DNSServer library for ESP8266. Be sure to check.
Another note is that the DNSServer
library is included in the ESP8266/ESP32 cores
ESP8266 built-in library
=> DNSServer LibraryESP32 built-in library
. => DNSServer LibraryYou don't need to download any new DNSServer
library at all.
Thanks for your patience and kind answer. I found WiFi101 referenced at c_cpp_properties.json on the .vscode folder - probably I made a mistake with Intellisense. Deleting .vscode and all libraries from the project and adding khoih-prog/ESPAsync_WiFiManager @ ^1.3.0 to the dependencies did the trick.
That's great. Your complete bug report is very helpful to locate the issue and remember doing the same way next time (hopeful no more issue;=))
Without complete picture, no one can have psychic power to guess what's wrong, so it'll be time-consuming to solve, even the smallest issue.
Cheers,
Khoih,
Please be patient, I'm new on platformio and github, so this is probably a very dumb question and not a real issue.
I started experimenting with ESPAsync_WiFiManager. I am having conflicting typedef declaration when trying to build the example Async_ConfigOnSwitch.ino (renamed it main.cpp on vscode). The declarations are on the underlying libraries, please see the build output below.
Do you see anything that I might have missed? Any hints?
Thank you
malves61