vscode failed to build for one example but could build another one successfully

Hi, I tried to delete all build files and configurations and regenerate the project. I tried this 5 or 6 times and I could run it the last time. I don’t know why but it could run now