I am trying to integrate a Raspberry Pi 3B+ with an Arduino Due board. The Pi is using the Raspbian operating system.
I have installed the latest version of the Arduino software v1.8.9 for a Linux ARM 32 bit software.
I installed this manually since on my first attempt installing Arduino via the command line installed an old version that did not have a board manager.
Since the Due board is not available on the default boards when first installed this version was no appropriate. After downloading the newest version of the Arduino software I installed the Arduino Due board package from the board manager.
I have found that I can compile and upload sketches to other board types, but when I attempt to upload the same working sketches to the Arduino Due board I get the following errors:
Arduino: 1.8.9 (Linux), Board: "Arduino Due (Programming Port)"
Build options changed, rebuilding all
arm-none-eabi-g++: error trying to exec 'cc1plus': execvp: No such file or directory
exit status 1
Error compiling for board Arduino Due (Programming Port).
After looking into this error on forums it appears other people have had similar issues that all seem to be resolved simply by installing or updating their gcc/g++ compilers so that the cc1plus file can be found.
I have tried these routes and found that all the compilers I attempted were up to date and installed. The cc1plus file can be easily found in the directories of the compilers.
The impression I get is that the newly installed board package is using an incorrect path to access the compiler or does not have the permissions to use the compiler but I am at a loss as to how to fix that.
Any suggestions would be greatly appreciated,