Although I do everything for the library installation in the platformio ide, I can’t get any results. I’ve done a few basic projects before, but somehow I couldn’t show the #include <AsyncTCP.h> library. I would be glad if you help
…You’re tripple including AsyncTCP and Arduino-ESP32, which is very wrong. A library should only be included from one source, and an entire Arduino core can’t just be included as a ‘library’.
The reason why library inclusion of all of that is failing is because you’re using the custom platform GitHub - deneyapkart/deneyapkart-platformio-core: Platformio Core for Deneyap DevKits. Libraries include in their manifest, library.json, which platforms they’re compatible with. EPS32 chips belong to the official espressif32 platform. You’re usung deneyap as a platform, which doesn’t match what the library wants to see
Especially since it sets libCompatMode to 2, meaning strict.
You can use lib_compat_mode = off in the platformio.ini to disable this compatibility check.
Overall, I don’t see the sense in using a dedicated platform for a single board that is exactly an ESP32, for which support already exists regularily, but okay.
Thank you for your help, I am grateful. Library issue solved So As I understand, Do I need to do this for every library that I will include? like wifi.h?
@maxgerhardt … thanks for this. The inputs have helped me in solving problem with AsyncMqttClient_Generic library which was giving LwIP.h not found error.