@VK3AWA_1
If you are using Windows 10, upgrade your Windows system to the latest version.
Use other operating systems to compile (such as Linux distributions).
First, make sure that "rom\miniz.h" exists in Arduino's ESP32 board manager files. Then try to manually change all paths containing #include <rom/miniz.h> to absolute paths. For example, #include "C:\Users\admin\Documents\Arduino\libraries\esp32-xxx\xxxxxx\rom\miniz.h"