找不到 /bin/avr-g++

找不到 /bin/avr-g++

我正在尝试使用 Arduino IDE 编译程序,但不能,因为它突然返回这些错误

Arduino: 1.6.5 (Linux), Board: "Arduino/Genuino Uno"

Cannot run program "{runtime.tools.avr-gcc.path}/bin/avr-g++" (in directory "."): error=2, No such file or directory

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

当我进行定位时

[tom@ArchBak ~]$ locate -i avr-g++
/usr/bin/avr-g++
/usr/share/arduino/hardware/tools/avr/bin/avr-g++
/usr/share/man/man1/avr-g++.1.gz

有人有什么想法吗?

相关内容