简体   繁体   中英

Not recognized as an internal or external command

I'm trying to compile C++ code(within Sublime) and I'm getting error

'"arm-none-eabi-g++"' is not recognized as an internal or external command,

operable program or batch file.

But if I compile same code within ArduinoIDE I get no errors. So I searched and found I should add path to system environment. So, I fould "arm-none-eabi-g++.exe" and added path to the file, reboot PC but still get that error.

在此处输入图片说明 第二条路

You shouldn't make a variable named after the tool name and put the EXE's full path in it. You need to edit the variable named Path there in the list, and add the path to the folder that the EXE is in, followed by ; , in front of what is already there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM