PlatformIO Community

Error when compiling Marlin

I’m new to PlatformIO and i was trying to compile the new Marlin for my 3D printer.
I get the following error:
avr-g++ error: CreateProcess: No such file or directory
*** [.pio\build\meaatmega2560\firmware.elf] Error 1

I look at the directory and there is no firmware.elf
Is this a file that should have been created?
I did run a Clean, but same result.

Thanks for any help.


I installed the VSCode on my desktop computer and copied the project over and it compile with no errors.
The only diffrence is that I have Delphi installed on my desktop.
Now the problem is how to upload it to the printer. I will try to copy the project back and then just do an Upload with out Build if it allows.