VS Code 配置C++环境 出现问题 could not find the task 'g++'
vscode吧
全部回复
仅看楼主
level 1
mhdlenovo 楼主
2018年08月09日 13点08分 1
level 1
mhdlenovo 楼主
这是配置了launch.json后的 依然是这个问题
2018年08月09日 13点08分 2
老哥解决了
2019年03月03日 02点03分

2019年03月03日 02点03分

2019年03月03日 02点03分
大哥我的也是这样怎么解决的
2019年07月27日 09点07分
level 13
你手动用g++编译这个文件有问题吗
2018年08月10日 04点08分 3
level 1
我的也有这个问题
2018年11月01日 13点11分 4
你回复的这两个帖子,他们遇到的根本不是同一个问题。所以你能保证这两个问题你都有?
2018年11月01日 22点11分
level 1
你们解决了吗
2018年11月01日 13点11分 5
level 1
需要在 .vscode 文件中配置 tasks.json 中的 label 字段与 launch.json 中的 preLaunchTask 字段一致.
[https://zhidao.baidu.com/question/1115809299782809459.html]
2019年02月21日 16点02分 6
可以的
2019年07月24日 06点07分
你的可以
2020年09月07日 07点09分
我的字段一致还是不行
2021年01月25日 09点01分
level 1
错误原因:launch.json中的“preLaunchTask” 和 tasks.json的 "label" 后面的内容要相等
2020年05月31日 12点05分 9
1