So I was trying to update my 3d printer and I followed a guide on youtube,
and after following these steps at the point where I upload the code to the board I keep getting an error message “Error compiling for board Sanguino”
Arduino: 1.8.13 (Windows Store 1.8.39.0) (Windows 10), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"
avr-gcc: error: CreateProcess: No such file or directory
exit status 1
Error compiling for board Sanguino.
Invalid library found in C:\Users\eatfi\OneDrive\Documents\Arduino\libraries\lazer_on_g8: no headers files (.h) found in C:\Users\eatfi\OneDrive\Documents\Arduino\libraries\lazer_on_g8
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
A quick search with Google shows that the problem is caused when a command line overflows a buffer and gets truncated. See a possible work-around in the bug report: