I got this error trying to build and compile my program. Now I can't open all my .cpp files in my program.

make[2]: * No rule to make target Checker.cpp', needed by build/Debug/GNU-Linux-x86/Checker.o'. Stop.

Anyone can help me with this? I have checked all the online sources but I can't seem to find a solution. I desperately need this solved. Appreciate any help given.

4

1 Answer

You get this error when you don't have a file (Checker.cpp) here to make. Its probably for the following reasons :

  • Your current directory is not the directory in which your file resides.
  • The file may have been moved to somewhere else.
  • Or the worse , the file doesn't exist.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.