Hi there,
You may need to roll back the esp32 library, Look at some of the compiler outputs and see the versions etc.
https://forum.seeedstudio.com/t/xiao-esp32c3-with-round-display-and-sd-card-gif-viewer-example/272381?u=pj_glasso
What error are you getting.
HTH
GL PJ