解决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成神之路。
共有 0 条评论