Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Global declaration of object of "ESPAsyncWebServer" causing conflict #5

Answered by khoih-prog
otl1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @otl1

Thanks for your trying the best to use my libraries. But the real-life scenario must govern what we have to do, and going with too easy and extreme way won't work.

By changing a little bit in your code, you can eliminate the error of your over-complex code. But you still have to verify if it's still working and then have a better knowledge of the libraries / cores.

  • which library to use and in which case
  • why having conflict error and how to avoid

I'll explain a little bit in the end to help you somehow. But I don't think I'll spend any more time on your issues. Sorry I wish I'd have all the time in the world to do everything.



Code changed

main.cpp
#include "defines.h"
#include <

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@otl1
Comment options

Answer selected by otl1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants