<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">Hi,</p><p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">&nbsp;I am trying to run the example from WatershedSegmentation2.cxx just as it is.&nbsp;</p><p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">First i see no definition of the OutputImageType</p><p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">it just appears at the line</p><p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; <span style="color: #b830a1">typedef</span> WatershedFilterType::<span style="color: #6f41a8">OutputImageType</span>&nbsp; LabeledImageType;</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">and secondly i get this error and i really don't know where to start.</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><br></p></p><p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">Undefined symbols:</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">&nbsp; "typeinfo for itk::WatershedMiniPipelineProgressCommand", referenced from:</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; __ZTIN3itk36WatershedMiniPipelineProgressCommandE$non_lazy_ptr in ImageRegion.o</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">&nbsp;&nbsp; &nbsp; (maybe you meant: __ZTIN3itk36WatershedMiniPipelineProgressCommandE$non_lazy_ptr)</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">&nbsp; "vtable for itk::WatershedMiniPipelineProgressCommand", referenced from:</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; __ZTVN3itk36WatershedMiniPipelineProgressCommandE$non_lazy_ptr in ImageRegion.o</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">&nbsp;&nbsp; &nbsp; (maybe you meant: __ZTVN3itk36WatershedMiniPipelineProgressCommandE$non_lazy_ptr)</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">ld: symbol(s) not found</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">collect2: ld returned 1 exit status</p><div><br></div><div><span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; ">I also tried the WatershedSegmentation1.cxx and the same error, i even used the same image like in the user guide.</span></div></td></tr></table><br>