Visual Studio 2019 Unable to start program, the system cannot find the file specified

slipbits 16 Reputation points
2022-11-13T19:49:50.417+00:00

VS 2019 Version 16.11.1

I was suggested that my question should be separated from similar questions.

Conditions:
Debug/<program name>.exe
Clean build/rebuild
No build errors (0 warning, 0 errors)
Main function exists
Tools->options are as specified in answers to similar questions

Compilation/build/rebuild successful for several months. Copying all files to a new folder and building works correctly (.exe found and executes properly).

Any idea what the issue is and how to repair it?

Developer technologies | C++
{count} votes

1 answer

Sort by: Most helpful
  1. PRIYANSHI JAIN 1 Reputation point
    2022-11-24T18:30:48.343+00:00

    hi @slipbits ,
    Have you added the path variable of mingw in environment variables in case of windows pc?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.