<div><div class="gmail_quote">On Thu, Mar 24, 2011 at 11:19 AM, Ella Maria Kadas <span dir="ltr">&lt;<a href="mailto:ella_kadas@yahoo.com">ella_kadas@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">Hi,</p><p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">
 I am trying to run the example from WatershedSegmentation2.cxx just as it is. </p><p style="margin:0.0px 0.0px 0.0px 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;font:11.0px Menlo">
it just appears at the line</p><p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo"></p><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">  <span style="color:#b830a1">typedef</span> WatershedFilterType::<span style="color:#6f41a8">OutputImageType</span>  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&#39;t know where to start.</p><p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo"><br></p></td></tr></tbody></table></blockquote><div> </div><meta http-equiv="content-type" content="text/html; charset=utf-8">OutputImageType is a typedef inside of the watershed filter.</div>
<div class="gmail_quote"><br><div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo"><br></p><p></p><p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">Undefined symbols:</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">  &quot;typeinfo for itk::WatershedMiniPipelineProgressCommand&quot;, referenced from:</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      __ZTIN3itk36WatershedMiniPipelineProgressCommandE$non_lazy_ptr in ImageRegion.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">     (maybe you meant: __ZTIN3itk36WatershedMiniPipelineProgressCommandE$non_lazy_ptr)</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">  &quot;vtable for itk::WatershedMiniPipelineProgressCommand&quot;, referenced from:</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      __ZTVN3itk36WatershedMiniPipelineProgressCommandE$non_lazy_ptr in ImageRegion.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">     (maybe you meant: __ZTVN3itk36WatershedMiniPipelineProgressCommandE$non_lazy_ptr)</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">ld: symbol(s) not found</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">collect2: ld returned 1 exit status</p><div><br></div></td></tr></tbody></table></blockquote><div><br></div><div>Which libraries are you linking to? Are you using a CMakeLists.txt file similar to this one: <a href="http://www.itk.org/Wiki/ITK/Examples/Utilities/DeepCopy">http://www.itk.org/Wiki/ITK/Examples/Utilities/DeepCopy</a> ?</div>
<div><br></div><div>David</div><meta http-equiv="content-type" content="text/html; charset=utf-8"></div></div>