Compilation error exec

exec: "C:\Users\NT300E5K\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++": file does not exist

Compilation error: exec: "C:\Users\NT300E5K\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++": file does not exist

how can i solve this problem

Which version of the IDE?

It sounds like a corrupt installation. I suggest that you download a fresh copy and install again. You might have to do a complete uninstall first.

I got the same error. Did you ever find a fix for it:

fork/exec /Users/lj/Library/Arduino15/packages/smartwatch-boards/hardware/nRF5/0.1.3/tools/adafruit-nrfutil/adafruit-nrfutil: permission denied

Compilation error: fork/exec /Users/lj/Library/Arduino15/packages/smartwatch-boards/hardware/nRF5/0.1.3/tools/adafruit-nrfutil/adafruit-nrfutil: permission denied

Hi @lj001. In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to post the full output from the upload when in verbose mode.


:exclamation: NOTE: These instructions will not solve the problem. They are only intended to gather more information which might provide a clue that eventually leads to a solution.


Please do this:

  1. Select File > Preferences from the Arduino IDE menus.
  2. Uncheck the checkbox next to Show verbose output during: compilation
  3. Check the checkbox next to Show verbose output during: ☐ upload.
  4. Click the OK button.
  5. Attempt an upload, as you did before.
  6. Wait for the upload to fail.
  7. You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the COPY ERROR MESSAGES button on that notification.
  8. Open a forum reply here by clicking the Reply button.
  9. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  10. Press Ctrl+V.
    This will paste the error output from the upload into the code block.
  11. Move the cursor outside of the code tags before you add any additional text to your reply.
  12. Click the Reply button to post the output.

@lj001 reported they solved the problem in another thread:

@lj001 in the future, please only create one post for each distinct subject matter. Posting the same question to multiple threads is considered "cross-posting". This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.

Cross-posting is against the Arduino forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.

Thanks in advance for your cooperation.

A post was split to a new topic: Compilation of any sketch fails: '...7.3.0-atmel3.6.1-arduino7/bin/avr-g++": file does not exist'

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