*** No rule to make target ‘class.cpp’, needed by `build/….x86/class.o` Stop. error in Ubuntu

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.

Leave a Comment