解决vscode编译器报错g++.exe: error: unrecognized command line option ‘–interpreter=mi‘

今天为vscode搭建C++环境时最后报错
Starting: "C:/MinGW/bin/g++.exe" --interpreter=mi
g++.exe: error: unrecognized command line option '--interpreter=mi'
g++.exe: fatal error: no input files
compilation terminated.
"C:/MinGW/bin/g++.exe" exited with code 1 (0x1).

看一下配置文件
launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387

解决vscode编译器报错g++.exe: error: unrecognized command line option ‘–interpreter=mi‘最先出现在Python成神之路

版权声明:
作者:dingding
链接:https://www.techfm.club/p/16238.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>