Error when using code

Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno"

avr-gcc: error: CreateProcess: No such file or directory

avr-gcc: error: CreateProcess: No such file or directory

avr-gcc: error: CreateProcess: No such file or directory

exit status 1

Error compiling for board Arduino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I get this error when im trying to make a hand sanitizer dispensor
pls help

this is the code
https://drive.google.com/drive/u/0/folders/1owAatidlxF5nuy-WP4LoVd80rhknXz7c

Welcome to the forum

Your post was MOVED to its current location as it is more suitable

Please post your code and the full error message here to make it easy to provide help

Please post your code not a link to it.

It looks like your Arduino IDE is not correctly installed. I recommend you download it again and try the install again.

Apparently after compiling it again it worked?
any reasons why this happened?

I don't know the reason, but I can make a couple of hypotheses as to possible causes:

  • The "on access scan" behavior of your antivirus software cause a file to not be accessible to the Arduino IDE's compilation process.
  • The cached files from a previous compilation were either deleted from the temporary folder by a cleanup process, or somehow corrupted.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.