Can't compile code “launch: program does not exist ”

前端 未结 7 1586
醉话见心
醉话见心 2021-01-31 06:16

I have simple console application in C++ that I succeed to compile with Visual Studio.

I wanted to try Visual Studio Code so I copied the directory to the computer wit

7条回答
  •  萌比男神i
    2021-01-31 06:43

    This problem is mainly due file name , as per below table the name of the binary will be audioMatrixBin in windows folder not audioMatrixBin.exe, but we have to mention filename.exe here.

        {
            "name": "(Windows) Launch",
            "type": "cppvsdbg",
            "request": "launch",
            "program": "audioMatrixBin.exe",
            "args": ["AudioMxrMgr4Subaru.conf"],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": true
        }
    ]
    

    }

提交回复
热议问题