Arm-none-eabi-g++: no such file or directory

Hi, I've been using Uno board for awhile, and just got a Nano 3.3 BLE to try. I can't get the IDE to compile, despite lots of attempts to troubleshoot. I've uploaded the new board definitions, tried reloading them, updated the IDE (now 1.8.19), deleting and reloading the board definitions, clearing the preferences txt file, looked through online suggestions and this forum, etc., all to no avail. No program will compile and all return this error message: (sorry, verbose form - the main issue is in the last three lines):

Arduino: 1.8.19 (Mac OS X), Board: "Arduino Nano 33 BLE"
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/davidhickson/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/davidhickson/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/davidhickson/Documents/Arduino/libraries -fqbn=arduino:mbed_nano:nano33ble -vid-pid=2341_805A -ide-version=10819 -build-path /var/folders/ry/85hf390562l5q9zyqs8x1xxh0000gn/T/arduino_build_756949 -warnings=none -build-cache /var/folders/ry/85hf390562l5q9zyqs8x1xxh0000gn/T/arduino_cache_308040 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.dfu-util.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/dfu-util/0.10.0-arduino1 -prefs=runtime.tools.dfu-util-0.10.0-arduino1.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/dfu-util/0.10.0-arduino1 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.openocd.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/openocd/0.11.0-arduino2 -prefs=runtime.tools.openocd-0.11.0-arduino2.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/openocd/0.11.0-arduino2 -prefs=runtime.tools.rp2040tools.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/rp2040tools/1.0.2 -prefs=runtime.tools.rp2040tools-1.0.2.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/rp2040tools/1.0.2 -prefs=runtime.tools.bossac.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/bossac/1.9.1-arduino2 -prefs=runtime.tools.bossac-1.9.1-arduino2.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/bossac/1.9.1-arduino2 -verbose /var/folders/ry/85hf390562l5q9zyqs8x1xxh0000gn/T/arduino_modified_sketch_58869/Blink.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/davidhickson/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/davidhickson/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/davidhickson/Documents/Arduino/libraries -fqbn=arduino:mbed_nano:nano33ble -vid-pid=2341_805A -ide-version=10819 -build-path /var/folders/ry/85hf390562l5q9zyqs8x1xxh0000gn/T/arduino_build_756949 -warnings=none -build-cache /var/folders/ry/85hf390562l5q9zyqs8x1xxh0000gn/T/arduino_cache_308040 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.dfu-util.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/dfu-util/0.10.0-arduino1 -prefs=runtime.tools.dfu-util-0.10.0-arduino1.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/dfu-util/0.10.0-arduino1 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.openocd.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/openocd/0.11.0-arduino2 -prefs=runtime.tools.openocd-0.11.0-arduino2.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/openocd/0.11.0-arduino2 -prefs=runtime.tools.rp2040tools.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/rp2040tools/1.0.2 -prefs=runtime.tools.rp2040tools-1.0.2.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/rp2040tools/1.0.2 -prefs=runtime.tools.bossac.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/bossac/1.9.1-arduino2 -prefs=runtime.tools.bossac-1.9.1-arduino2.path=/Users/davidhickson/Library/Arduino15/packages/arduino/tools/bossac/1.9.1-arduino2 -verbose /var/folders/ry/85hf390562l5q9zyqs8x1xxh0000gn/T/arduino_modified_sketch_58869/Blink.ino
Using board 'nano33ble' from platform in folder: /Users/davidhickson/Library/Arduino15/packages/arduino/hardware/mbed_nano/2.7.2
Using core 'arduino' from platform in folder: /Users/davidhickson/Library/Arduino15/packages/arduino/hardware/mbed_nano/2.7.2
Detecting libraries used...
/Users/davidhickson/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/Users/davidhickson/Library/Arduino15/packages/arduino/hardware/mbed_nano/2.7.2/variants/ARDUINO_NANO33BLE/defines.txt @/Users/davidhickson/Library/Arduino15/packages/arduino/hardware/mbed_nano/2.7.2/variants/ARDUINO_NANO33BLE/cxxflags.txt -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10819 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/Users/davidhickson/Library/Arduino15/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino -I/Users/davidhickson/Library/Arduino15/packages/arduino/hardware/mbed_nano/2.7.2/variants/ARDUINO_NANO33BLE -I/Users/davidhickson/Library/Arduino15/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/deprecated -I/Users/davidhickson/Library/Arduino15/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/deprecated-avr-comp -iprefix/Users/davidhickson/Library/Arduino15/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino @/Users/davidhickson/Library/Arduino15/packages/arduino/hardware/mbed_nano/2.7.2/variants/ARDUINO_NANO33BLE/includes.txt /var/folders/ry/85hf390562l5q9zyqs8x1xxh0000gn/T/arduino_build_756949/sketch/Blink.ino.cpp -o /dev/null
fork/exec /Users/davidhickson/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++: no such file or directory
Error compiling for board Arduino Nano 33 BLE.

I looked via file manager at the listed directory. Directory is there up until /7-2017q4 but after that what I have is different, which is probably the issue. However, I can't find a way to properly update files, etc. to get the right configuration.

Any suggestions?

Did you install the required CORE?

Installing the Mbed OS core for Nano boards

After we have downloaded, installed and opened the Arduino IDE, let's continue to install the core needed.

When we open the editor, we will see an empty sketch.

An empty Arduino IDE sketch window.

An empty Arduino IDE sketch window.

Here we need to navigate to Tools > Board > Board Manager.

Selecting board manager.

Selecting board manager.

This will open up a new window, with all available cores. Find the one named Arduino Mbed OS Nano Boards and install it.

List of cores.

List of cores.

This process may take some time, and you may need to accept the installation window that comes up (depending on your operative system). When it is finished, it should say

"INSTALLED"

under the title.

Note: This process may take several minutes.

Exit the board manager, and go to Tools > Board > Arduino > Arduino Mbed OS Nano Boards. Here you can see all the Mbed boards listed, where you can select the board you are using. You have now successfully installed the core.

List of available boards.

List of available boards.

Selecting the port

Now, let's make sure that our board is found by our computer, by selecting the port. Regardless what kind of program we are uploading to the board, we always need to choose the port for the board we are using. This is simply done by navigating to Tools > Port, where you select your board from the list.

Selecting the right board and port.

Selecting the right board and port.

This will look different depending on what kind of operative system you are using.

For Windows users, it could look like this:

(Arduino Nano BLE)


For **MAC** users, it could look like this:

* ```
/dev/cu.usbmodem14112 (Arduino Nano BLE)

Uploading a simple example

You are now ready to start using your board! The easiest way to check that everything is working, is to upload just a simple blink example to your board. This is done by navigating to File > Examples > 01.Basics > Blink.

Selecting the blink example.

Selecting the blink example.

To upload the sketch, simply click on the arrow in the top left corner. This process takes a few seconds, and it is important to not disconnect the board during this process.

Thanks. Yes. Installed. Uninstalled and reinstalled... The computer can see the board and it powers up, but no program will compile...

I do not own a Mac, so while I suspect a permission or file pathing issue, I really do not know how to go forward from here.

Suggest you change Title to something like "Mac user ...." or "macOS ... " or something to get our Mac folk involved.

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