*** There is no rule for creating the "class.cpp" target necessary for `build / .... x86 / class.o` Stop. Error in Ubuntu

I got this error while trying to compile and compile my program. Now I can not open all my .cpp files in my program.

make [2]: * There is no rule for creating the target Checker.cpp', needed by build / Debug / GNU-Linux-x86 / Checker.o'. Stop.

Can anybody help me? I checked all online sources, but I can not find a solution. I desperately need this. Appreciate any help provided.

+7
c ++ compilation gnu-make
source share
1 answer

You get this error if you do not have the file ( Checker.cpp ) here make . Probably for the following reasons:

  • Your current directory is not the directory in which your file resides.
  • The file may have been moved to another location.
  • Or, even worse, the file does not exist.
+8
source share

All Articles