0

I removed a few files (Spring.cpp / Spring.h) from my project (no longer referenced anywhere). But running make complains that those files are missing.

clang: error: no such file or directory: '/Workspace/newgame/sandbox/src/components/Spring.cpp'
clang: error: no input files
make[2]: *** [sandbox/CMakeFiles/game.dir/src/components/Spring.cpp.o] Error 1
make[1]: *** [sandbox/CMakeFiles/game.dir/all] Error 2

running cmake .. and then make fixes this. but regenerating takes forever. There has to be a better way

HolyBlackCat
  • 78,603
  • 9
  • 131
  • 207
frankelot
  • 13,666
  • 16
  • 54
  • 89

0 Answers0