如图正常程序运行时没有问题的,但是运行有easyx头文件1=的程序就会出错
launch.json
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "cl.exe - 生成和调试活动文件",
"type": "cppvsdbg",
"request": "launch",
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"console":"externalTerminal",
}
]
}
tasks.json
{
"version": "2.0.0",
"tasks": [
{
"type":"shell",
"label": "g++",
"command": "cl.exe",
"args": [
"/EHsc",
"/Zi",
"kernel32.lib",
"gdi32.lib",
"winspool.lib",
"comdlg32.lib",
"advapi32.lib",
"shell32.lib",
"ole32.lib",
"oleaut32.lib",
"uuid.lib",
"odbc32.lib",
"odbccp32.lib",
"User32.lib",
"EasyXa.lib",
"EasyXw.lib",
"/Fd.\\",
"/Fo.\\",
"/Fe:",
"${fileDirname}\\${fileBasenameNoExtension}.exe",
"${file}"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$msCompile"
],
"group": "build",
"detail": "compiler: cl.exe"
}
]
}
报错内容为launch:program does not exist
我如果加上"preLaunchTask": "g++"则会报错为preluanchTask"g++"已终止,退出代码为1
想要在vscode上运行easyx,望解答
使用帮助文档
双击EasyX_Help.chm