• Arduino 1.8.5
  • macOS High Sierra 10.13.6
I want to know

I want to get a compiler for Arduino Uno with Arduino 1.8.5.
Where should I download it?

I want to solve

I am trying to solve the following error that occurs when compiling from Arduino Studio.
From the message it seems that the compiler is broken.

Arduino: 1.8.5 (Mac OS X), Board: "Arduino/Genuino Uno"
fork/exec /Users/hoge/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++: no such file or directory
An error occurred when compiling the board Arduino/Genuino Uno.
From "Preferences" in the "File" menu
When "Show more detailed information: Compile" is enabled
More detailed information is displayed.
I tried to find a compiler with the

lscommand, but I couldn't find it.

➜ ~ ls /Users/shusuke/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++
ls: /Users/shusuke/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++: No such file or directory
  • Answer # 1

    Are you in ArduinoStudio?

    Isn't it safe to re-install ArduinoStudio?

    There seems to be a GCC toolchain for AVR, but whether it can be used in Arduino even if it is put separately.

    #When I wrote an answer, I got a server error, so if I wrote it in the comment, both were written