I am trying to implement the ESP Async Webserver for the ESP32. When trying to use the example code for this library, one of the dependencies is ESPAsyncTCP.h. I keep getting: Compiling .pioenvs\esp-wrover-kit\libaa2\WiFi\WiFiAP.cpp.o
src\main.cpp:6:26: fatal error: ESPAsyncTCP.h: No such file or directory.
Even though I see the the library under .piolibdeps, where I installed it along with the other libraries required for the example code. All the libraries seems to be visible to the program except for the ESPAsync.h header. I have no idea what to do to change this.
One interesting note: After installing libraries that were not visible to the project and were stopping the project from compiling I notice while researching that Under POI Home, I am seeing some of these libraries install under global storage, even though I thought I only installed them with project visibility.
Do I need to uninstall the local libraries?
If so, how to I get the project to recognize the global libraries?]
Thanks

@maxgerhardt
Thank you for your quick response.
I did like you suggested and removed all libs excepts for the ones in my project. But after restarting VS the IDE put the ESPAsyncTCP.h back, and I still get the error of “No such file”
Also the first time I built after restarting I got:C* [.pioenvs\esp-gateway\src\main.cpp.o] Error 1ompiling .pioenvs\esp-gateway\lib458\SHA-1 Hash_ID1828\Hash.cpp.o.
But the second time I built, the SHA error went away and was replaced with the ESPAsyncTCP error.
I’m stuck

While going back and looking for the link, I found a simpler example that I missed.
While I do need to send some large VueJS files using the SD file system. Maybe I could get the simpler example up and going. But this would not explain the problems I am having and I would probably be right back asking how to manage library #includes.
Thanks for your help

For ESP8266 it requires ESPAsyncTCP To use this library you might need to have the latest git versions of ESP8266 Arduino Core

For ESP32 it requires AsyncTCP to work To use this library you might need to have the latest git versions of ESP32 Arduino Core

So maybe I am asking you to solve an issues cause, not by ignorance of the IDE but of how to implement the proper libraries. This is why I hate forums, it only points out what I might have missed.
Again, thanks,

@maxgerhardt,
Thank you, I need to slow down and digest all the help you have given. It will probably be tomorrow before I can go though all the tries and re-tries to make sure I have properly understood and implemented your suggestions. I will report back, but if you are not available or busy, I just want to say thanks. I usually have to wait days for help on other forums, but this was a nice change. Hopefully I don’t get spoiled and use it as a crutch.

@maxgerhardt,
You are awesome. It compiles. The problem, which you already know, is that I was calling the wrong libs. I had already changed some of them because I could find the ESP32 alternatives. But I had become stuck. But you found it very quickly. I had a problem with what would satisfy the c++ signature of the SPIFFSEditor(const fs::FS& fs,… so I just remmed it out. I will go back tomorrow and finish with the data and upload you suggested. Thanks, thanks, thanks.
Hopefully you are around when I try and circumvent the FreeRTOS critical mutex limit in the ESP32 SPI module that is keeping me from acquiring the 100 KSmpls/Sec from an external ADC in the future.