Hello,
Thank you so much for the information !
I also ran into the same problem, and have managed to solve it with the same steps.
p.s. Reading the compiling logs carefully, the following outputs can be found, which is exactly the problem.
12>Visual Studio 2022 compiler version 14.40.33814 is not a preferred version. Please use the latest preferred version 14.38.33130