sudo make uninstall can't find install_manifest.txt of embree
chaosink opened this issue · comments
Lin Hsu commented
➜ release git:(master) sudo make uninstall
CMake Error at uninstall.cmake:18 (MESSAGE):
Cannot find install manifest:
/home/lin/program/CG/tungsten/build/release/src/thirdparty/embree/install_manifest.txt
src/thirdparty/embree/CMakeFiles/uninstall.dir/build.make:57: recipe for target 'src/thirdparty/embree/CMakeFiles/uninstall' failed
make[3]: *** [src/thirdparty/embree/CMakeFiles/uninstall] Error 1
CMakeFiles/Makefile2:540: recipe for target 'src/thirdparty/embree/CMakeFiles/uninstall.dir/all' failed
make[2]: *** [src/thirdparty/embree/CMakeFiles/uninstall.dir/all] Error 2
CMakeFiles/Makefile2:547: recipe for target 'src/thirdparty/embree/CMakeFiles/uninstall.dir/rule' failed
make[1]: *** [src/thirdparty/embree/CMakeFiles/uninstall.dir/rule] Error 2
Makefile:327: recipe for target 'uninstall' failed
make: *** [uninstall] Error 2
➜ release git:(master)
Benedikt Bitterli commented
Tungsten itself doesn't provide an uninstall target, but it looks like embree supplies one (which is then broken by the build system). I've removed the embree target to avoid these error messages when running make uninstall. However, it still means that uninstall doesn't work; CMake does not generate this target for us.