3rd parties Libraries location troubles

Hello all.

I’m trying to use Adafruit_SSD1306.h and Adafruit_GFX.h libraries.

I’ve searched for them in PIO Home, selecting these libraries and adding them to the project. Then their paths have been added to platformio.ini:
image

but not to main.c, where I’ve added them manually:
image

Nevertheless, when I try to compile, it reports errors regarding not found componentes:

Please, how to fix it?
Does it always happen this way, or have I done wrong?

Thank you.
Regards,

I’ve just found a solution in this forum:

Thank you.
Regards,