hi,<br>I want to connect itk to vtk. I used the guidline mentioned in tutorial II at the itk website. The following is part of the code i use:<br><br>#include &quot;itkImageToVTKImageFilter.h&quot;<br>//other includes...<br>
<br>//some code here...<br><br>typedef itk::VTKImageExport&lt;ImageType3D&gt; ExporterFilterType;<br>ExporterFilterType::Pointer m_Exporter = ExporterFilterType::New();<br><br>//some code here...<br><br>when i compile i get the following errors:<br>
Error&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; error LNK2001: unresolved external symbol &quot;protected: __thiscall itk::VTKImageExportBase::VTKImageExportBase(void)&quot; (??0VTKImageExportBase@itk@@IAE@XZ)&nbsp;&nbsp;&nbsp; itktester.obj&nbsp;&nbsp;&nbsp; itktester<br>Error&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp; error LNK2001: unresolved external symbol &quot;protected: virtual void __thiscall itk::VTKImageExportBase::PrintSelf(class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class itk::Indent)const &quot; (?PrintSelf@VTKImageExportBase@itk@@MBEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@VIndent@2@@Z)&nbsp;&nbsp;&nbsp; itktester.obj&nbsp;&nbsp;&nbsp; itktester<br>
Error&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp; error LNK2001: unresolved external symbol &quot;protected: virtual void __thiscall itk::VTKImageExportBase::UpdateInformationCallback(void)&quot; (?UpdateInformationCallback@VTKImageExportBase@itk@@MAEXXZ)&nbsp;&nbsp;&nbsp; itktester.obj&nbsp;&nbsp;&nbsp; itktester<br>
Error&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp; error LNK2001: unresolved external symbol &quot;protected: virtual int __thiscall itk::VTKImageExportBase::PipelineModifiedCallback(void)&quot; (?PipelineModifiedCallback@VTKImageExportBase@itk@@MAEHXZ)&nbsp;&nbsp;&nbsp; itktester.obj&nbsp;&nbsp;&nbsp; itktester<br>
Error&nbsp;&nbsp;&nbsp; 5&nbsp;&nbsp;&nbsp; error LNK2001: unresolved external symbol &quot;protected: virtual void __thiscall itk::VTKImageExportBase::UpdateDataCallback(void)&quot; (?UpdateDataCallback@VTKImageExportBase@itk@@MAEXXZ)&nbsp;&nbsp;&nbsp; itktester.obj&nbsp;&nbsp;&nbsp; itktester<br>
Error&nbsp;&nbsp;&nbsp; 6&nbsp;&nbsp;&nbsp; fatal error LNK1120: 5 unresolved externals&nbsp;&nbsp;&nbsp; D:\c++ codes\itktester\Release\itktester.exe&nbsp;&nbsp;&nbsp; itktester<br><br>p.s. The project name is called itktester.<br><br>If i remove the following line i no longer get these errors: <br>

ExporterFilterType::Pointer m_Exporter = ExporterFilterType::New();<br><br>I am using itk 3.6, vtk 5.0.2, visual studio 2008 sp1.<br><br>Any help will be appreciated.<br><br>