-
Notifications
You must be signed in to change notification settings - Fork 74
ESPAsyncDNSServer depends on faulty and not maintained library ESPAsyncUDP #108
Comments
I have something close to what you describe but I don't see any relation with compile error about missing user_interface.h. If my problem is not related to this issue, I also created a discussion about it : #109 |
Ok I got It, to get the same error as you I have to remove the |
You should have a look here : devyte/ESPAsyncDNSServer#3 |
Hi all, I suggest you try to use Arduino IDE first. Then move on to PIO when everything is OK. PIO is still not mature enough for complex use cases, and requires much more knowledge / skills to manually modify the settings. Post for help in PIO Forum if you still have problem. I'm closing the issue now, because I just compiled and OK here. |
Your PIO settings is wrong somehow. Check
Post for help in PIO Forum if you can't solve.
https://registry.platformio.org/libraries/devyte/ESPAsyncDNSServer |
Getting this error out of the sudden: ESPAsync_WiFiManager/src/ESPAsync_WiFiManager.hpp:208:31: fatal error: ESPAsyncDNSServer.h: No such file or directory How happened? |
platformio.ini can be for example
I've forked ESPAsyncDNSServer for the DEBUG section. Original it is using
Then it is working fine for me. |
I am spending days trying to resolve this without success. Cannot build. My ini file:
|
HI @LiveRock
The PIO already has the published library ESPAsyncDNSServer It's better to post on PIO Forum for help, if you can't find out how to do. |
@LiveRock the order of the libs in platformio.ini is important. So move ESPAsyncDNSServer before khoih-prog/ESPAsync_WiFiManager@^1.13.0 line |
I re-arranged the sequence as below:
Still getting errors after I CLEAN ALL and BUILD. Error:
|
Update:
to ESPAsyncDNSServer.h Am getting this now:
|
It seems that you still use old broken code, before library updated to use Replace any references to Why don't you go back to Arduino IDE to be sure all is OK with your code? |
I didn't go back to Arduino IDE because the project was already working before and suddenly it wasn't. And I use Visual Studio Code daily; so it is preferred. Let me try to replace references from DNSServer to AsyncDNSServer and report back. |
The DNSServer error is gone but I have a whole lot of similar errors as below:
I think it has nothing to do with AsyncDNSServer or ESPAsync_WiFiManager but if someone (khoih-prog?) could help me with this, I would be very very grateful :-) |
No more errors after doing
Thanks!! |
hahahaha LMAO, I had been trying for a long time but now it has worked. Can you update your blog code? Really long time, I thought it was all wrong, but it's not. At the end it was thank you. |
Describe the bug
Since ESPAsyncDNSServer is included in ESPAsync_WIFIManger, I get compile error about missing user_interface.h. This is included into ESPAsyncUDP library, used by ESPAsyncDNSServer. user_interface.h is missing and do not know how to solve this.
ESPAsyncUDP is a very old library and not maintained for many years.
In platform.io and expressif32 framework the AsyncUDP library is builtin. Why still use ESPAsyncUDP library?
Expected behavior
When ESPAsync_WIFIManager is included in my project, the dependencies should compile fine also.
Actual behavior
It does not compile due depending on a very old and not maintained library ESPAsyncUDP.
Information
The text was updated successfully, but these errors were encountered: