Cannot run program


Hi all,

I am trying to upload my first program to Sparki from a Raspberri Pi 3 B, running Fedora 25.

I followed the below ArduBlocks installation steps:

I get the following error, when trying to upload a program to Sparki:
Arduino: 1.6.4 (Linux), Board: “ArcBotics Sparki”

Build options changed, rebuilding all

{}/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10604 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x27C2 -DUSB_PID=0x0004 -DUSB_MANUFACTURER=“ArcBotics” -DUSB_PRODUCT=“ArcBotics Sparki” -I/home/Unit01/.arduino15/packages/ArcBotics Boards/hardware/avr/1.6.9/cores/arduino -I/home/Unit01/.arduino15/packages/ArcBotics Boards/hardware/avr/1.6.9/variants/sparki /tmp/build8890074801840212735.tmp/sketch_jul26a.cpp -o /tmp/build8890074801840212735.tmp/sketch_jul26a.cpp.o
Cannot run program “{}/bin/avr-g++” (in directory “.”): error=2, No such file or directory


This looks like a problem with your Arduino installation (getting gcc working).

What was your installation process for Arduino on RPi/Fedora? Did you have a guide you followed that you can link to?

I’m afraid we can’t provide guaranteed support for every linux platform offshoot, but we’ll do our best to help.