Missing header files in the espressif32 arduino platform (6.5.0)

Hello,
I am trying to compile a sketch that compiles without any problem in the arduinoIDE (esp32 core 2.14)
but with platformIO espressif32 arduino platform 6.5.0 there are two header files missing:
DNSServer.h and Update.h.

Do you mind guiding me to a solution?

[env:mini32]
platform = espressif32@6.5.0
board = wemos_d1_mini32 
framework = arduino
upload_speed = 921600
monitor_speed = 115200
upload_port = COM8
;upload_protocol = espota
board_build.partitions = default.csv
lib_extra_dirs = .\lib   
lib_deps = 
           https://github.com/tzapu/WiFiManager@2.0.16-rc.2
           ;ArduinoOTA
           ArduinoJson@6.19.4
           ;https://github.com/MajicDesigns/MD_Parola@3.3.0
           MD_Parola@3.5.6       
           ;https://github.com/MajicDesigns/MD_MAX72XX@3.2.1
           MD_MAX72xx@3.3.0

Let me know if you need more informations to help solving this issue.
Thanks a lot.

Hello

Sorry guys, my main file was still in .ino
Renaming it in main.cpp solved the problem!

When I read the errors headers file missing I was not lead to this problem.

Solved !