<div>Hi,</div>
<div>I want to use itk::WatershedImageFilter for 3D image segmentation in MSVC framework. The code&nbsp;is as follow:</div>
<div>typedef itk::GradientAnisotropicDiffusionImageFilter&lt;ImageType3D,ImageType3D&gt; diffusionFilterType;<br>&nbsp;diffusionFilterType::Pointer diffusion=diffusionFilterType::New();<br>&nbsp;<br>&nbsp;typedef itk::GradientMagnitudeImageFilter&lt;ImageType3D,ImageType3D&gt; gradientMagnitudeFilterType;</div>

<div>gradientMagnitudeFilterType::Pointer gradientMagnitude=gradientMagnitudeFilterType::New();<br>&nbsp;&nbsp;typedef itk::WatershedImageFilter&lt;ImageType3D&gt; watershedFilterType;<br>&nbsp;watershedFilterType::Pointer watershed=watershedFilterType::New();</div>

<div>&nbsp;</div>
<div>When the last row is added, there are following errors:</div>
<div>vtkProgramDoc.obj : error LNK2001: unresolved external symbol &quot;public: virtual void __thiscall itk::WatershedMiniPipelineProgressCommand::Execute(class itk::Object *,class itk::EventObject const &amp;)&quot; (<a href="mailto:?Execute@WatershedMiniPipelineProgressCommand@itk">?Execute@WatershedMiniPipelineProgressCommand@itk</a><br>
@@UAEXPAVObject@2@ABVEventObject@2@@Z)<br>vtkProgramDoc.obj : error LNK2001: unresolved external symbol &quot;public: virtual void __thiscall itk::WatershedMiniPipelineProgressCommand::Execute(class itk::Object const *,class itk::EventObject const &amp;)&quot; (<a href="mailto:?Execute@WatershedMiniPipelineProgressComma">?Execute@WatershedMiniPipelineProgressComma</a><br>
<a href="mailto:nd@itk@@UAEXPBVObject@2@ABVEventObject@2@@Z">nd@itk@@UAEXPBVObject@2@ABVEventObject@2@@Z</a>)<br>Debug/vtkProgram.exe : fatal error LNK1120: 2 unresolved externals</div>
<div>All the librarys are included and image type are declared. Please tell me why!</div>
<div>thanks!</div>