[Insight-users] Re: Build of itkAntiAliasBinaryImageFilterExample fails

Luis Ibanez luis.ibanez@kitware.com
Fri, 24 May 2002 23:42:17 -0400


Hi Jarek

We just made these changes and that fixed the problem
of dependencies with the 'chunks' library.

Thanks a lot for providing the fix !


   Luis

========================================================

Jarek Sacha wrote:

> The problem can be fixed by correcting
> Examples/StreamedWatershedSegmentation/CMakeLists.txt in the follewin way:
>
> 1) Remove LINK_LIBRARIES statement 
> 2) For each of the executable targets, e.g. itkTreeGeneratorApp, add at
> the end of the file:
> TARGET_LINK_LIBRARIES (itkTreeGeneratorApp ITKBasicFilters ITKCommon
> VXLNumerics param chunks)
>
> This prevents introduction of the "chunk" dependency in code that links to
> ParameterFileParser.
>
> This definitely fixes problem with itkAntiAliasBinaryImageFilterExample.
> However I was not able to completely verify by doing fresh rebuild of ITK
> due to problems with compiling updated FEM code (this is a different
> issue).
>
> Hope this helps,
>
> Jarek