Hi everyone,<div><br></div><div>I&#39;m having serious troubles to compile the vtk&#39;s examples for c++, I&#39;m using Visual C++ Express 2010 and building VTK many times but still can&#39;t figure out what&#39;s the right way to go. I&#39;m working on an application for 3D ultrasound visualization I&#39;ll appreciate some help with these</div>
<div><br></div><div>Errors im getting are like these</div><div><div>1&gt;------ Build started: Project: TestVTK, Configuration: Debug Win32 ------</div><div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: unsigned long __thiscall vtkObject::AddObserver(unsigned long,class vtkCommand *,float)&quot; (?AddObserver@vtkObject@@QAEKKPAVvtkCommand@@M@Z) referenced in function _main</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: class vtkCoordinate * __thiscall vtkSliderRepresentation2D::GetPoint2Coordinate(void)&quot; (?GetPoint2Coordinate@vtkSliderRepresentation2D@@QAEPAVvtkCoordinate@@XZ) referenced in function _main</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: class vtkCoordinate * __thiscall vtkSliderRepresentation2D::GetPoint1Coordinate(void)&quot; (?GetPoint1Coordinate@vtkSliderRepresentation2D@@QAEPAVvtkCoordinate@@XZ) referenced in function _main</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: void __thiscall vtkSliderRepresentation::SetValue(double)&quot; (?SetValue@vtkSliderRepresentation@@QAEXN@Z) referenced in function _main</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: void __thiscall vtkSliderRepresentation::SetMaximumValue(double)&quot; (?SetMaximumValue@vtkSliderRepresentation@@QAEXN@Z) referenced in function _main</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: void __thiscall vtkSliderRepresentation::SetMinimumValue(double)&quot; (?SetMinimumValue@vtkSliderRepresentation@@QAEXN@Z) referenced in function _main</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: void __thiscall vtkRenderer::AddActor(class vtkProp *)&quot; (?AddActor@vtkRenderer@@QAEXPAVvtkProp@@@Z) referenced in function _main</div><div>
1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: void __thiscall vtkRenderWindowInteractor::SetRenderWindow(class vtkRenderWindow *)&quot; (?SetRenderWindow@vtkRenderWindowInteractor@@QAEXPAVvtkRenderWindow@@@Z) referenced in function _main</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: class vtkProperty * __thiscall vtkActor::GetProperty(void)&quot; (?GetProperty@vtkActor@@QAEPAVvtkProperty@@XZ) referenced in function _main</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: void __thiscall vtkPolyDataMapper::SetInput(class vtkPolyData *)&quot; (?SetInput@vtkPolyDataMapper@@QAEXPAVvtkPolyData@@@Z) referenced in function _main</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: class vtkPolyData * __thiscall vtkPolyDataAlgorithm::GetOutput(void)&quot; (?GetOutput@vtkPolyDataAlgorithm@@QAEPAVvtkPolyData@@XZ) referenced in function _main</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;protected: void __thiscall vtkAbstractWidget::SetWidgetRepresentation(class vtkWidgetRepresentation *)&quot; (?SetWidgetRepresentation@vtkAbstractWidget@@IAEXPAVvtkWidgetRepresentation@@@Z) referenced in function &quot;public: void __thiscall vtkSliderWidget::SetRepresentation(class vtkSliderRepresentation *)&quot; (?SetRepresentation@vtkSliderWidget@@QAEXPAVvtkSliderRepresentation@@@Z)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: __thiscall vtkSmartPointerBase::~vtkSmartPointerBase(void)&quot; (??1vtkSmartPointerBase@@QAE@XZ) referenced in function &quot;public: __thiscall vtkSmartPointer&lt;class vtkSphereSource&gt;::~vtkSmartPointer&lt;class vtkSphereSource&gt;(void)&quot; (??1?$vtkSmartPointer@VvtkSphereSource@@@@QAE@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: static class vtkSphereSource * __cdecl vtkSphereSource::New(void)&quot; (?New@vtkSphereSource@@SAPAV1@XZ) referenced in function &quot;public: static class vtkSmartPointer&lt;class vtkSphereSource&gt; __cdecl vtkSmartPointer&lt;class vtkSphereSource&gt;::New(void)&quot; (?New@?$vtkSmartPointer@VvtkSphereSource@@@@SA?AV1@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: static class vtkPolyDataMapper * __cdecl vtkPolyDataMapper::New(void)&quot; (?New@vtkPolyDataMapper@@SAPAV1@XZ) referenced in function &quot;public: static class vtkSmartPointer&lt;class vtkPolyDataMapper&gt; __cdecl vtkSmartPointer&lt;class vtkPolyDataMapper&gt;::New(void)&quot; (?New@?$vtkSmartPointer@VvtkPolyDataMapper@@@@SA?AV1@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: static class vtkActor * __cdecl vtkActor::New(void)&quot; (?New@vtkActor@@SAPAV1@XZ) referenced in function &quot;public: static class vtkSmartPointer&lt;class vtkActor&gt; __cdecl vtkSmartPointer&lt;class vtkActor&gt;::New(void)&quot; (?New@?$vtkSmartPointer@VvtkActor@@@@SA?AV1@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: static class vtkRenderer * __cdecl vtkRenderer::New(void)&quot; (?New@vtkRenderer@@SAPAV1@XZ) referenced in function &quot;public: static class vtkSmartPointer&lt;class vtkRenderer&gt; __cdecl vtkSmartPointer&lt;class vtkRenderer&gt;::New(void)&quot; (?New@?$vtkSmartPointer@VvtkRenderer@@@@SA?AV1@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: static class vtkRenderWindow * __cdecl vtkRenderWindow::New(void)&quot; (?New@vtkRenderWindow@@SAPAV1@XZ) referenced in function &quot;public: static class vtkSmartPointer&lt;class vtkRenderWindow&gt; __cdecl vtkSmartPointer&lt;class vtkRenderWindow&gt;::New(void)&quot; (?New@?$vtkSmartPointer@VvtkRenderWindow@@@@SA?AV1@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: static class vtkRenderWindowInteractor * __cdecl vtkRenderWindowInteractor::New(void)&quot; (?New@vtkRenderWindowInteractor@@SAPAV1@XZ) referenced in function &quot;public: static class vtkSmartPointer&lt;class vtkRenderWindowInteractor&gt; __cdecl vtkSmartPointer&lt;class vtkRenderWindowInteractor&gt;::New(void)&quot; (?New@?$vtkSmartPointer@VvtkRenderWindowInteractor@@@@SA?AV1@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: static class vtkSliderRepresentation2D * __cdecl vtkSliderRepresentation2D::New(void)&quot; (?New@vtkSliderRepresentation2D@@SAPAV1@XZ) referenced in function &quot;public: static class vtkSmartPointer&lt;class vtkSliderRepresentation2D&gt; __cdecl vtkSmartPointer&lt;class vtkSliderRepresentation2D&gt;::New(void)&quot; (?New@?$vtkSmartPointer@VvtkSliderRepresentation2D@@@@SA?AV1@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: static void __cdecl vtkObjectBase::operator delete(void *)&quot; (??3vtkObjectBase@@SAXPAX@Z) referenced in function __unwindfunclet$?New@vtkSliderCallback@@SAPAV1@XZ$0</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: static void * __cdecl vtkObjectBase::operator new(unsigned int)&quot; (??2vtkObjectBase@@SAPAXI@Z) referenced in function &quot;public: static class vtkSliderCallback * __cdecl vtkSliderCallback::New(void)&quot; (?New@vtkSliderCallback@@SAPAV1@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;protected: __thiscall vtkCommand::vtkCommand(void)&quot; (??0vtkCommand@@IAE@XZ) referenced in function &quot;public: __thiscall vtkSliderCallback::vtkSliderCallback(void)&quot; (??0vtkSliderCallback@@QAE@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2001: unresolved external symbol &quot;public: virtual void __thiscall vtkObjectBase::Delete(void)&quot; (?Delete@vtkObjectBase@@UAEXXZ)</div><div>1&gt;Slider2D.obj : error LNK2001: unresolved external symbol &quot;public: virtual void __thiscall vtkObjectBase::FastDelete(void)&quot; (?FastDelete@vtkObjectBase@@UAEXXZ)</div>
<div>1&gt;Slider2D.obj : error LNK2001: unresolved external symbol &quot;public: virtual void __thiscall vtkObjectBase::PrintSelf(class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class vtkIndent)&quot; (?PrintSelf@vtkObjectBase@@UAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@VvtkIndent@@@Z)</div>
<div>1&gt;Slider2D.obj : error LNK2001: unresolved external symbol &quot;public: virtual void __thiscall vtkObjectBase::PrintHeader(class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class vtkIndent)&quot; (?PrintHeader@vtkObjectBase@@UAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@VvtkIndent@@@Z)</div>
<div>1&gt;Slider2D.obj : error LNK2001: unresolved external symbol &quot;public: virtual void __thiscall vtkObjectBase::PrintTrailer(class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class vtkIndent)&quot; (?PrintTrailer@vtkObjectBase@@UAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@VvtkIndent@@@Z)</div>
<div>1&gt;Slider2D.obj : error LNK2001: unresolved external symbol &quot;public: virtual void __thiscall vtkObjectBase::Register(class vtkObjectBase *)&quot; (?Register@vtkObjectBase@@UAEXPAV1@@Z)</div><div>1&gt;Slider2D.obj : error LNK2001: unresolved external symbol &quot;protected: virtual void __thiscall vtkObjectBase::CollectRevisions(class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;)&quot; (?CollectRevisions@vtkObjectBase@@MAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)</div>
<div>1&gt;Slider2D.obj : error LNK2001: unresolved external symbol &quot;protected: virtual void __thiscall vtkObjectBase::RegisterInternal(class vtkObjectBase *,int)&quot; (?RegisterInternal@vtkObjectBase@@MAEXPAV1@H@Z)</div>
<div>1&gt;Slider2D.obj : error LNK2001: unresolved external symbol &quot;protected: virtual void __thiscall vtkObjectBase::UnRegisterInternal(class vtkObjectBase *,int)&quot; (?UnRegisterInternal@vtkObjectBase@@MAEXPAV1@H@Z)</div>
<div>1&gt;Slider2D.obj : error LNK2001: unresolved external symbol &quot;protected: virtual void __thiscall vtkObjectBase::ReportReferences(class vtkGarbageCollector *)&quot; (?ReportReferences@vtkObjectBase@@MAEXPAVvtkGarbageCollector@@@Z)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: static int __cdecl vtkObjectBase::IsTypeOf(char const *)&quot; (?IsTypeOf@vtkObjectBase@@SAHPBD@Z) referenced in function &quot;public: static int __cdecl vtkCommand::IsTypeOf(char const *)&quot; (?IsTypeOf@vtkCommand@@SAHPBD@Z)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;protected: __thiscall vtkObjectBase::vtkObjectBase(void)&quot; (??0vtkObjectBase@@IAE@XZ) referenced in function &quot;public: static class vtkObjectBase * __cdecl vtkObjectBase::New(void)&quot; (?New@vtkObjectBase@@SAPAV1@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: void __thiscall vtkCommand::UnRegister(void)&quot; (?UnRegister@vtkCommand@@QAEXXZ) referenced in function &quot;public: virtual void __thiscall vtkCommand::UnRegister(class vtkObjectBase *)&quot; (?UnRegister@vtkCommand@@UAEXPAVvtkObjectBase@@@Z)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;protected: virtual __thiscall vtkObjectBase::~vtkObjectBase(void)&quot; (??1vtkObjectBase@@MAE@XZ) referenced in function &quot;protected: virtual __thiscall vtkCommand::~vtkCommand(void)&quot; (??1vtkCommand@@MAE@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;public: static class vtkSliderWidget * __cdecl vtkSliderWidget::New(void)&quot; (?New@vtkSliderWidget@@SAPAV1@XZ) referenced in function &quot;public: static class vtkSmartPointer&lt;class vtkSliderWidget&gt; __cdecl vtkSmartPointer&lt;class vtkSliderWidget&gt;::New(void)&quot; (?New@?$vtkSmartPointer@VvtkSliderWidget@@@@SA?AV1@XZ)</div>
<div>1&gt;Slider2D.obj : error LNK2019: unresolved external symbol &quot;protected: __thiscall vtkSmartPointerBase::vtkSmartPointerBase(class vtkObjectBase *,class vtkSmartPointerBase::NoReference const &amp;)&quot; (??0vtkSmartPointerBase@@IAE@PAVvtkObjectBase@@ABVNoReference@0@@Z) referenced in function &quot;protected: __thiscall vtkSmartPointer&lt;class vtkSphereSource&gt;::vtkSmartPointer&lt;class vtkSphereSource&gt;(class vtkSphereSource *,class vtkSmartPointerBase::NoReference const &amp;)&quot; (??0?$vtkSmartPointer@VvtkSphereSource@@@@IAE@PAVvtkSphereSource@@ABVNoReference@vtkSmartPointerBase@@@Z)</div>
<div><br></div>-- <br><b><font face="&#39;comic sans ms&#39;, sans-serif" color="#000066">Rodrigo aka WarHearT</font></b><br>
</div>