[Insight-developers] Re: Recent include file reorg breaks backward compatibility

Brad King brad.king at kitware.com
Tue Oct 3 14:03:33 EDT 2006


Bill Lorensen wrote:
> The recent reorganization of some of the utility include files is
> causing a backward compatibility problem. In Slicer3 we have a class (a
> Slicer3 ImageIO specific class) that includes zlib/zlib.h. Your recent
> changes (renaming the itk include files for some utilities) causes a
> compilation error when Slicer3 is build against the nightly itk cvs.
> 
> Is there some way we can minting compatibility with the  old include
> usage without changing the Slicer3 code. It is critical that we can
> build against 2.8 and the cvs head. I suspect that other itk users will
> meet the same issue.

Heh, those changes were actually made because Andy wanted me to setup
the utilities for use by external projects specifically for Slicer :)

Try adding a Utilities/zlib/zlib.h file that contains just

#include "itk_zlib.h"

-Brad


More information about the Insight-developers mailing list