avr-g++: no such file or directory

Hi Bruno. Welcome!

Try doing this:

  1. Select Tools > Board > Boards Manager from the Arduino IDE menus.
  2. Wait for the updates to finish.
  3. From the list of available boards platforms, click on "Arduino AVR Boards".
  4. From the dropdown menu select "1.6.20"
  5. Click the Install button.
  6. Wait for installation to finish
  7. Click the Close button.

Now try compiling again.

3 Likes