/ usr / bin / bash:g ++:找不到命令

只需在VS Code中启动C ++,然后使用MinGW,Complier,扩展,调试等设置C ++。 我陷入无法找到解决方案的问题。在完成task.json之后:

        "tasks": [
        {
            "label": "echo","type": "shell","command": "g++","args": [
                      "-g","learn.cpp"
            ],"group": {
                "kind": "build","isDefault": true
            }
        }
    ]
}

我键入Ctrl + Shift + B使其可以在终端中显示后,它显示:

/usr/bin/bash: g++: command not found
The terminal process terminated with exit code: 127

如果您能帮助我解决这个问题,我将不胜感激!

谢谢你!

wslqfm 回答:/ usr / bin / bash:g ++:找不到命令

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3113951.html

大家都在问