Amb82 connected to MAC mini using Arduino 1.8.19. Tries to compile Blink example and got error:
Arduino: 1.8.19 (Mac OS X), Board: “AMB82-MINI, Disable, Disable, Disable, 2000000, Flash, JXF37, Disable, Disable”
arm-none-eabi-g++: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
compilation terminated.
exit status 1
Error compiling for board AMB82-MINI.
.
Hi @samlewis02 could you use Arduino IDE 2 to see if it solves your issue? Thank you
I get exactly the same error with Arduino 2.3.4
Hi @samlewis02,
May I check what version of AmebaPro2 SDK are you using?
Thank you.
With Arduino 2.3.4 Ameba support is built in so there is no SDK to install
In the error dump there is reference to 4.0.8
I dont know if it helps but I did a search for cc1plus and this is result:
samlewis@Mac-mini Arduino15 % find . -name “cc1plus” -print
./packages/esp32/tools/esp-rv32/2405/libexec/gcc/riscv32-esp-elf/13.2.0/cc1plus
./packages/esp32/tools/s3-gcc/2021r2-p5/libexec/gcc/xtensa-esp32s3-elf/8.4.0/cc1plus
./packages/esp32/tools/esp-x32/2405/libexec/gcc/xtensa-esp-elf/13.2.0/cc1plus
./packages/esp8266/tools/xtensa-lx106-elf-gcc/3.1.0-gcc10.3-e5f9fec/libexec/gcc/xtensa-lx106-elf/10.3.0/cc1plus
./packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/libexec/gcc/avr/7.3.0/cc1plus
May I know if you have installed Ameba SDK from board manager?
After installing, you should see ameba_pro2_toolchain folder in …\packages\realtek\tools (arduino15 folder).
if possible, could you provide a screenshot of your board manager and log at output windows. Thank you.
I did not install this in Arduino 2.3.4 - it comes pre-installed
we have checked on our side as well, seems like we have more files in the folder
Could you try uninstalling the SDK 4.0.8 and install again. Make sure the tools and hardware folders is completely deleted before installing.
That seems to have fixed it.
That would seem to indicate that either the SDK built into Arduino 2 is out of date or maybe when I went from Arduino 1 to 2 the files were not updated. Thanks for your help.
1 Like