Teensyduino Error: /Library/Arduino15/packages/teensy/hardware/avr/../tools/arm/bin/arm-none-eabi-g++: no such file or directory

Hey there! I am following this video: https://youtu.be/dI6ielrP1SE .

I've followed the github here: GitHub - playfultechnology/audio-guestbook: The "audio guestbook" is a converted telephone handset that guests can use to leave recorded messages at weddings and parties

I am verifying my code and getting the following error:

fork/exec /Users/alexanderhuestis/Library/Arduino15/packages/teensy/hardware/avr/../tools/arm/bin/arm-none-eabi-g++: no such file or directory

Compilation error: fork/exec /Users/alexanderhuestis/Library/Arduino15/packages/teensy/hardware/avr/../tools/arm/bin/arm-none-eabi-g++: no such file or directory

I've attempted to install and reinstall my board manager. I've re installed the IDE as a whole and that did not help either.

I think this is some type of corruption error but I can't seem to figure out how to solve it. Any help would be great. Thanks!

Hi @ahuestis23

The tool at the path referenced by the error message should be automatically installed on your computer when you installed the "Teensy" boards platform via the Arduino IDE Boards Manager.

It seems something might have gone wrong during the installation. One possible fix is to uninstall and then reinstall the platform. I'll provide instructions you can follow to do that:

  1. Select Tools > Board > Boards Manager from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  2. Scroll down through the list of boards platforms until you see the "Teensy" entry.
  3. Hover the mouse pointer over the "Teensy" entry.
    You will see a ••• icon appear at the top right corner of the entry.
  4. Click the ●●● icon.
    A menu will open.
  5. Select "Remove" from the menu.
    An "Uninstall" dialog will open.
  6. Click the "YES" button in the "Uninstall" dialog.
  7. Wait for the uninstallation to finish.
    The progress will be shown by a notification at the bottom right corner of the Arduino IDE window.
  8. Click the "INSTALL" button at the bottom of the "Teensy" entry.
  9. Wait for the installation to finish.

Now try verifying your code again. Hopefully this time that "arm-none-eabi-g++: no such file or directory" error will not occur. If the error does still occur, please reply here to let us know and we'll see if we can find some other way to solve the problem.

Hey! So, this fixes one issue but not another. The project I am working on requires the 'platform.txt' and 'boards.local.tx' files to be edited. When I reinstall Teensy it resets those files which solves my error above but does not allow me to compile the MTP library found here:

What should I do from here? I tried installing MTP_Teensy via the Arduino IDE but it doesn't appear to exist.

Thanks!

Just make the edits to the files once again.

I see you are already using boards.local.txt. I recommend you to also use the equivalent platform.local.txt file instead of editing platform.txt directly. This will allow you to easily implement your platform modifications after each update of the Teensy platform by simply copying two files into the platform folder. You should save a copy of the two files in a location outside the platform folder so they won't be lost during the update.

By "via the Arduino IDE", do you mean the Library Manager? If so, the reason is that the library was never submitted to the Library Manager registry. But you can still install it using the "Add .ZIP Library..." feature of Arduino IDE, or by adding it manually to the libraries subfolder of your sketchbook.

If you still have trouble installing the library then I'll be happy to provide detailed instructions you can follow. But I'm a bit confused about why you are finding it necessary to install it in the context of this discussion. If you install a library via any of the normal methods, its installation will not be affected by a platform uninstall+reinstall cycle as I recommended above. The only way the library installation could be affected is if you installed it under the libraries subfolder of the Teensy boards platform installation. That would be a very unusual and unlikely thing to do.

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