Cannot run program "PowerShell"

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cannot run program "PowerShell"

673件の閲覧回数
FranciscoLange
Contributor I

Hi, I just installed mcu xpresso IDE and I run into this problem everytime I want to debug a project with the active build configuration. I build it, and then, when I try to debug a message pops saying "Cannot run program "powershell": CreateProcess error=2, The system cannot find the file specified. I tried to add Powershell to my path variable, if that makes any sense, but it didnt do anything, or maybe im doing it wrong. Any help is welcomed, thanks!

0 件の賞賛
4 返答(返信)

590件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

Have you installed PowerShell in some custom location? Can you start it from a Command Prompt? Note that if you changed the PATH variable, you'll need to restart any app that needs it updated, including MCUXpresso IDE. The error clearly indicates that the IDE is not able to find the needed program.

Regards,

MCUXpresso IDE Support

 

0 件の賞賛

536件の閲覧回数
FranciscoLange
Contributor I
Not that Im aware of, i have it on %SystemRoot%\system32\WindowsPowerShell\v1.0\. After changing the PATH variable i restarted my pc and even reinstalled the IDE. Is there a way I can tell the program where to look for PowerShell? Thanks
0 件の賞賛

641件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi FranciscoLange 

Please let us know:

1. your chip part number

2. your IDE version

Thanks,

Jun Zhang

0 件の賞賛

607件の閲覧回数
FranciscoLange
Contributor I
Hi, sorry I've been busy this week.
Im working with a LPC845 BRK and with vesion 11.5.1 of MCUXpresso. Thanks
0 件の賞賛