Error In building project in any SDK version beyond 4.0.7 on Arduino

I am using Arduino IDE Version 2.3.6 on Windows11. The StreamRTSP project compiles and runs on version 4.0.7. I am trying to build the StreamRTSP project with the IMX307 camera and am using the dev branch. So I installed the 4.0.9 Version On compiling I am getting the error :

This is happening in every build version of 4.0.9.

Hi @manomukil ,

May I know if you still encounter this issue? Thanks.

Kindly ensure that your tools folder (\Arduino15\packages\realtek\tools\ameba_pro2_tools) is not empty.