'make'命令在终端VScode中不起作用



我觉得这是一个非常琐碎的问题,我一辈子都弄不清我的VScode发生了什么。

that the path is correct and try again.
At line:1 char:1
+ make
+ ~~~~
+ CategoryInfo          : ObjectNotFound: (make:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Suggestion [3,General]: The command make was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".make". See "get-help about_Command_Precedence" for more details.

我只是想把两个文件编译在一起,使它们发挥作用。它们分别编译和执行,但当我在VS中的终端中使用"make"命令时,它会发出这个错误。我相信我的makefile设置是正确的,实际上是按照我的教授关于如何做的视频进行的,而且它工作正常。

有什么线索吗??

正如消息所说:找不到Make命令!

  1. 只需键入Make并点击enter即可确保您的Make命令确实存在
  2. 如果它不存在,请同时安装:build essentials和make using pip/conda/npm/npx

这些是使目标工作的主要规则!

最新更新