"xtensa-esp32-elf-gcc: error: CreateProcess: No such file or directory"

Why does this error appear when uploading the code?

xtensa-esp32-elf-gcc: error: CreateProcess: No such file or directory

Plusieurs bibliothèque trouvées pour "SD.h"
Utilisé : C:\Users\DELL\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SD
Non utilisé : C:\Program Files (x86)\Arduino\libraries\SD
Plusieurs bibliothèque trouvées pour "WiFi.h"
Utilisé : C:\Users\DELL\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
Non utilisé : C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
Erreur de compilation pour la carte ESP32 Dev Module

Hi @mmma88. Which version of Arduino IDE are you using (e.g., "2.0.1")? The version is shown on the window title bar and also in the Help > About dialog.

I ask for this information because I want to give you the appropriate instructions for the IDE version you are using.

I am using version "1.8.12".

Thanks. I'm going to ask you to provide some additional information that might allow us to determine the cause of the problem.


: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. Check the box next to "Show verbose output during: ☐ compilation".
  3. Click the OK button.
  4. Select Sketch > Verify/Compile from the Arduino IDE menus.
  5. After the compilation fails you'll see a button on the right side of the orange bar in Arduino IDE: Copy error messages. Click that button.
    This copies the full output to the clipboard.
  6. Open a forum reply here by clicking the Reply button.
  7. 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
  8. Press Ctrl+V.
    This will paste the compilation output into the code block.
  9. Move the cursor outside of the code tags before you add any additional text to your reply.
  10. Click the Reply button to post the output.

In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:

  1. Open any text editor program.
  2. Paste the copied output into the text editor.
  3. Save the file in .txt format.
  4. Open a forum reply here by clicking the Reply button.
  5. Click the "Upload" icon (image) on the post composer toolbar:
    image
  6. Select the .txt file you saved.
  7. Click the Open button.
  8. Click the Reply button to publish the post.

Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.

You should update from V1.0.4 to the latest ESP32 support which is V2.0.5.

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