VSCode build icon fails after installing ESP-IDF 6.0

xbug42
Posts: 1
Joined: Tue Apr 21, 2026 5:36 pm

VSCode build icon fails after installing ESP-IDF 6.0

Postby xbug42 » Tue Apr 21, 2026 5:52 pm

Hi !

I just installed ESP-IDF 6.0.
Versions 5.4 and 5.5 were already installed in $/esp/ (default path).
Version 6.0 was installed in $/.espressif/v6.0 (default path).

Now when selecting ESP-IDF 6.0 and then clicking on the "Build Project" icon, a popup Something went wrong while trying to build the project appears immediately in the bottom right corner.

I used ESP-IDF: Doctor Command to see that the issue is :

Code: Select all

Error: CMake or Ninja executables not found
    at Us.build (<HOMEPATH>/.vscode/extensions/espressif.esp-idf-extension-2.0.2/dist/extension.js:2:1547192)
    at async ja (<HOMEPATH>/.vscode/extensions/espressif.esp-idf-extension-2.0.2/dist/extension.js:2:1627187)
    at async Ma (<HOMEPATH>/.vscode/extensions/espressif.esp-idf-extension-2.0.2/dist/extension.js:2:1629186)
    at async <HOMEPATH>/.vscode/extensions/espressif.esp-idf-extension-2.0.2/dist/extension.js:2:1928483
The full output is attached.

The "Build, Flash and Monitor" icon also fails. Probably for the same reason.
"Flash Device", "Monitor Device" and "Open ESP-IDF terminal" icons are working.

It looks like this is a simple path issue somewhere but I cannot find out where...

Thank you for your help...
Attachments
report.txt
Doctor Command
(13.39 KiB) Downloaded 3 times

Who is online

Users browsing this forum: trendictionbot and 1 guest