[Insight-users] Watershed 3D example strange Error

David Doria daviddoria at gmail.com
Thu Mar 24 13:54:09 EDT 2011


On Thu, Mar 24, 2011 at 11:19 AM, Ella Maria Kadas <ella_kadas at yahoo.com>wrote:

> Hi,
>
>  I am trying to run the example from WatershedSegmentation2.cxx just as it
> is.
>
> First i see no definition of the OutputImageType
>
> it just appears at the line
>
>
>   typedef WatershedFilterType::OutputImageType  LabeledImageType;
>
> and secondly i get this error and i really don't know where to start.
>
>
>
OutputImageType is a typedef inside of the watershed filter.


> Undefined symbols:
>
>   "typeinfo for itk::WatershedMiniPipelineProgressCommand", referenced
> from:
>
>       __ZTIN3itk36WatershedMiniPipelineProgressCommandE$non_lazy_ptr in
> ImageRegion.o
>
>      (maybe you meant:
> __ZTIN3itk36WatershedMiniPipelineProgressCommandE$non_lazy_ptr)
>
>   "vtable for itk::WatershedMiniPipelineProgressCommand", referenced from:
>
>       __ZTVN3itk36WatershedMiniPipelineProgressCommandE$non_lazy_ptr in
> ImageRegion.o
>
>      (maybe you meant:
> __ZTVN3itk36WatershedMiniPipelineProgressCommandE$non_lazy_ptr)
>
> ld: symbol(s) not found
>
> collect2: ld returned 1 exit status
>
>
Which libraries are you linking to? Are you using a CMakeLists.txt file
similar to this one: http://www.itk.org/Wiki/ITK/Examples/Utilities/DeepCopy
 ?

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110324/90f8d576/attachment.htm>


More information about the Insight-users mailing list