[vtk-developers] Phantom "make" dependency after header is removed

David Gobbi david.gobbi at gmail.com
Fri Feb 2 12:22:51 EST 2018


Hi All,

Over the past few months, I've thrice had build failures when headers were
removed from the source code, but "make" still reported a dependency on the
header even after I re-ran cmake.

For example, recently vtk_libhdf5_mangle.h was removed and replaced with
vtk_hdf5_mangle.h, but it still appeared in "depend.make" for
vtkIOAMRPythonD (but for some reason it didn't appear in the depend.make
for other targets that had a dependency on vtkhdf5).

I can always fix the problem by doing a clean build, but I'm wondering, has
anyone else has seen phantom dependencies like this for the Makefile
generator?  Is there a reason why cmake would sometimes not correctly
update depend.make after all references to a header are removed from the
source?

 - David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180202/e2e720a3/attachment.html>


More information about the vtk-developers mailing list