C语言 如何在VS中调用make命令

b5buobof  于 2023-10-16  发布在  其他
关注(0)|答案(1)|浏览(124)

我无法在PowerShell终端中调用VS Code中的make命令。
我写了make (file name),并期待编译代码,但它一直显示:

make hello

make : The term 'make' is not recognized as the name of a cmdlet, 
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:1

+ make hello
+ ~~~~
+ CategoryInfo          : Object NotFound: (make:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
1mrurvl1

1mrurvl11#

检查您是否已安装make或设置make的正确路径。您可以参考this

相关问题