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

Hans Johnson hans-johnson at uiowa.edu
Tue Oct 3 14:09:09 EDT 2006


Brad,

FYI-- We ran into the same problem with our external packages.  We also had
to make changes to the nifti libraries to deal this the change.

Hans



On 10/3/06 1:03 PM, "Brad King" <brad.king at kitware.com> wrote:

> 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
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers



More information about the Insight-developers mailing list