Compilation error for teensy 4.0

I am using Arduino


IDE 2.3.2, using teensy 4.0 board. I got compilation error even reinstalled and deleted all files. kindly help me to sort-out this issue.

exec: "C:\Users\CharlesVinoth\AppData\Local\Arduino15\packages\teensy\tools\teensy-compile\11.3.1/arm/bin/arm-none-eabi-g++": file does not exist

Compilation error: exec: "C:\Users\CharlesVinoth\AppData\Local\Arduino15\packages\teensy\tools\teensy-compile\11.3.1/arm/bin/arm-none-eabi-g++": file does not exist

Hi @charles_11. This error might have been caused by something going wrong during the Boards Manager installation of the "Teensy" boards platform. If so, you should be able to fix it by uninstalling and then reinstalling 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.
    The dialog will close.
  7. Wait for the uninstall process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    Successfully uninstalled platform ...

  8. Click the "INSTALL" button at the bottom of the "Teensy" entry.
  9. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    Successfully installed platform ...

Now try compiling or uploading the sketch again. Hopefully this time the "file does not exist" error will not occur and the compilation will be successful.

I moved your topic to an appropriate forum category @charles_11.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

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