Include errors in esp32 project

I am doing a project on my esp32 on the platformIO IDE. I use esp idf. In my project I have the include folder, the lib folder and the src folder. In my lib folder I have the implementation and the header files of the libraries that I use. I want to include a header of my include folder in the file in the lib folder. But the compiler doesn’t seem to find the file of the include folder. But when I include the file of my include folder in my src folder, there isnt a problem.

The project folder’s include/ folder is by default not visible to libraries in lib/. You have to explicitly say so.

→ Duplicate of