Page 1 of 1

VSCode installation doesn't work. (Ninja not found)

Posted: Fri Aug 06, 2021 12:36 pm
by camztouch
Hello,
I did a clean install of Windows and VSCode. There were no errors while installing, but when I try to build something, i get this error:

Code: Select all

> Executing task: cmake --build . <

ninja: error: loading 'build.ninja': The system cannot find the file specified.

The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake --build ." terminated with exit code: 1.
On my other machine I did the exact same, there it worked. I have no idea how to fix this, maybe you could help me.

Re: VSCode installation doesn't work. (Ninja not found)

Posted: Mon Aug 09, 2021 6:53 am
by ESP_bignacio
Can you share more information about your system?

Take a look at troubleshooting for a list of outputs and the log file to share.

Re: VSCode installation doesn't work. (Ninja not found)

Posted: Mon Aug 09, 2021 6:39 pm
by camztouch
System is a fresh install of Windows 10 Pro 21H1.

I solved the problem by installing the ESP-IDF manually to the exact same location as the extension would have done. Works fine.