avr-g++: no such file or directory

the command I ran:

./arduino-cli compile --fqbn digistump:avr:digispark-tiny /root/Arduino/digispark-test-blink

The error I got:

Error: build failed: fork/exec /root/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++: no such file or directory
Error during build

checking that directory, avr-g++ is there and running sh on it gives

Syntax error: word unexpected (expecting ")")

Setup:
All on a Raspberry Pi running Kali linux (32 bit I think)
arduino-cli Version: 152-PR307 Commit: 77d5613
digistump board manager: https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.