So, we’ve seen a few users have a problem with arduino and building Marlin in windows. I’ve seen issues with 1.8.12 and 1.8.13. This isn’t my personal experience, because it isn’t an issue with windows.
Here is the error message:
avr-gcc: error: CreateProcess: No such file or directory
There may be other warnings, like finding two copies of U8glib. Those aren’t the error.
Here is an issue I found that I think describes it exactly:
There are some suggestions, like putting it in the root of the drive, renaming it to M, or deleting unused hals.
I think the cleanest suggested solution is to just use platformio. Here are those instructions:
I have to say, platformio is a great choice for this kind of stuff. VS code is a pretty good tool to have as well.