Hi nordic:
I am using NCS 3.0.0 and VSCode. I was able to compile the sample code in the SDK some time ago, but now I am getting the following error when compiling the sample code in the SDK. How should I handle this?


jermi.jin
Hi nordic:
I am using NCS 3.0.0 and VSCode. I was able to compile the sample code in the SDK some time ago, but now I am getting the following error when compiling the sample code in the SDK. How should I handle this?


jermi.jin
Hi:
The attached file is the compilation log

Thank you. The error indicates that the cmd executable is not found in any of the directories listed in your Windows PATH environment variable. cmd should be located in <Windows drive>\windows\system32. I don't know if you have Windows installed on c:\, d:\, or another drive. But it seems like you need to update the PATH variable so cmd can be found: https://www.wikihow.com/Change-the-PATH-Environment-Variable-on-Windows
Hi Vidar:
I've found the cause of the error, The environment variable is not set of “windows\system32”。
Thank you so much for your patient guidance!!
jermi