help with :no such file or directory error

Hello,

I'm trying to install Arduino on macos and when I try to upload an example sketch, or upload any sketch for that matter, I keep getting the following error message:

Arduino: 1.8.12 (Mac OS X), Board: "Arduino Uno"

fork/exec /Users/BigO/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++: no such file or directory
Error compiling for board Arduino Uno.

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

I'm using the elegoo UNO R3 board.

I've updated the libraries and updated the latest version of Arduino IDE 1.8.12

New to this. Help is appreciated.

This error indicates something has gone wrong with a boards platform installed via Boards Manager (Arduino AVR Boards in this case). The solution is to remove the installed packages. Be aware this will remove any boards you have installed via Boards Manager:

  • (In the Arduino IDE) File > Preferences
  • Click the link on the line following "More preferences can be edited directly in the file". This will open the Arduino15 (or similar name depending on OS) folder.
  • Delete all files and folders under the Arduino15 folder except for preferences.txt. Please be very careful when deleting things from your computer. When in doubt, back up!
  • Restart the Arduino IDE

Verify that you can now use your board before reinstalling any boards platforms via Boards Manager.

Thanks :slight_smile: That worked, I'm up and running!