Error in detecting file location while running a C++ Code_Clion(2020.3.3 x64)

I am getting an error while running a C++ code on my Clion IDE version-2020.3.3x64; during Project building, the system couldn't find my file specified.

FYI, My Project File is located at C: Drive under the folder named *3*

Error running '3': Cannot run program "c:\3\cmake-build-debug\3.exe" (in directory "c:\3\cmake-build-debug"): CreateProcess error=2, The system cannot find the file specified

1 comment


Please update CLion to 2021.1.1, delete the "cmake-build-debug" subfolder, do `Tools | CMake | Reset Cache and Reload Project` and after that try building and then running your project. Does it work?


Please sign in to leave a comment.