SPAM: [Insight-developers] explicit instantiation is broken when
ITK is installed
Julien Jomier
julien.jomier at kitware.com
Tue Jan 16 15:13:49 EST 2007
Kent,
Thanks a lot for the report. I'm looking at this now.
Julien
Kent Williams wrote:
> I can't build anything against the current CVS Insight, because when you
> install ITK, it doesn't copy the include files in the Templates
> directories.
>
> The first build that failed was InsightApplications but I imagine our
> own applications will have the same problem. The errors look like a
> whole lot of this sort of thing:
>
> [ 1%] Building CXX object
> AnisotropicDiffusionImageFilter/CMakeFiles/itk2DAnisotropicDiffusionImageFilter.dir/itk2DAnisotropicDiffusionImageFilter.o
>
> In file included from
> .../src/include/InsightToolkit/Common/itkFixedArray.h:236,
> from .../src/include/InsightToolkit/Common/itkPoint.h:20,
> from
> .../src/include/InsightToolkit/Common/itkContinuousIndex.h:20,
> from
> .../src/include/InsightToolkit/Common/itkImageRegion.h:27,
> from
> .../src/include/InsightToolkit/Common/itkImageBase.h:25,
> from .../src/include/InsightToolkit/Common/itkImage.h:20,
> from
> .../src/include/InsightToolkit/Common/itkImageSource.h:24,
> from
> .../src/include/InsightToolkit/IO/itkImageFileReader.h:21,
> from
> /Volumes/Scratch/kent/brains2/iplFreeware/unpackdir/InsightApplications/AnisotropicDiffusionImageFilter/itk2DAnisotropicDiffusionImageFilter.cxx:1:
>
> .../src/include/InsightToolkit/Common/Templates/itkFixedArray+-.h:1:29:
> error: itkFixedArrayD2.h: No such file or directory
> .../src/include/InsightToolkit/Common/Templates/itkFixedArray+-.h:2:29:
> error: itkFixedArrayF2.h: No such file or directory
> .../src/include/InsightToolkit/Common/Templates/itkFixedArray+-.h:3:30:
> error: itkFixedArrayUL2.h: No such file or directory
> .../src/include/InsightToolkit/Common/Templates/itkFixedArray+-.h:4:30:
> error: itkFixedArrayUS2.h: No such file or directory
> .../src/include/InsightToolkit/Common/Templates/itkFixedArray+-.h:5:30:
> error: itkFixedArrayUC2.h: No such file or directory
> .../src/include/InsightToolkit/Common/Templates/itkFixedArray+-.h:6:30:
> error: itkFixedArrayUI2.h: No such file or directory
>
> Julien Jomier wrote:
>> Hi Gaetan,
>>
>> I just put a fix in CVS. Can you test it out and let me know if that
>> works (or not). We might have to add some include directories in the
>> install configuration.
>>
>> Thanks for the report!
>>
>> Julien
>>
>> Gaëtan Lehmann wrote:
>>>
>>> Hi,
>>>
>>> ITK is broken when installed with explicit instantiation turned on,
>>> because the files itk???+-.h are including the files at an absolute
>>> path.
>>> If the build dir is removed, ITK is no more usable.
>>>
>>> Gaetan
>>>
>>> --Gaëtan Lehmann
>>> Biologie du Développement et de la Reproduction
>>> INRA de Jouy-en-Josas (France)
>>> tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
>>> http://voxel.jouy.inra.fr
>>> _______________________________________________
>>> Insight-developers mailing list
>>> Insight-developers at itk.org
>>> http://www.itk.org/mailman/listinfo/insight-developers
>>>
>>
>> _______________________________________________
>> 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