Hi all,<div><br></div><div>I have downloaded the vtk source and built it using cmake according to the following tutorial. </div><div><br></div><div><a href="http://vtkblog.blogspot.com/2007/04/install-build-vtk-from-source-in-visual.html">http://vtkblog.blogspot.com/2007/04/install-build-vtk-from-source-in-visual.html</a> </div>
<div><br></div><div>And set the environment variables and project properties for additional dependencies as well.</div><div> But when I try to build a simple project (which you can get from the above link), I am getting the following errors.</div>
<div><br></div><div><div>1>vtk_minimal.obj : error LNK2019: unresolved external symbol "public: static class vtkInteractorStyleTrackballCamera * __cdecl vtkInteractorStyleTrackballCamera::New(void)" (?New@vtkInteractorStyleTrackballCamera@@SAPAV1@XZ) referenced in function _main</div>
<div>1>vtk_minimal.obj : error LNK2019: unresolved external symbol "public: void __thiscall vtkRenderWindowInteractor::SetRenderWindow(class vtkRenderWindow *)" (?SetRenderWindow@vtkRenderWindowInteractor@@QAEXPAVvtkRenderWindow@@@Z) referenced in function _main</div>
<div>1>vtk_minimal.obj : error LNK2019: unresolved external symbol "public: static class vtkRenderWindowInteractor * __cdecl vtkRenderWindowInteractor::New(void)" (?New@vtkRenderWindowInteractor@@SAPAV1@XZ) referenced in function _main</div>
<div>1>vtk_minimal.obj : error LNK2019: unresolved external symbol "public: static class vtkRenderWindow * __cdecl vtkRenderWindow::New(void)" (?New@vtkRenderWindow@@SAPAV1@XZ) referenced in function _main</div>
<div>1>vtk_minimal.obj : error LNK2019: unresolved external symbol "public: void __thiscall vtkRenderer::AddActor(class vtkProp *)" (?AddActor@vtkRenderer@@QAEXPAVvtkProp@@@Z) referenced in function _main</div>
<div>1>vtk_minimal.obj : error LNK2019: unresolved external symbol "public: static class vtkRenderer * __cdecl vtkRenderer::New(void)" (?New@vtkRenderer@@SAPAV1@XZ) referenced in function _main</div><div>1>vtk_minimal.obj : error LNK2019: unresolved external symbol "public: static class vtkActor * __cdecl vtkActor::New(void)" (?New@vtkActor@@SAPAV1@XZ) referenced in function _main</div>
<div>1>vtk_minimal.obj : error LNK2019: unresolved external symbol "public: static class vtkPolyDataMapper * __cdecl vtkPolyDataMapper::New(void)" (?New@vtkPolyDataMapper@@SAPAV1@XZ) referenced in function _main</div>
<div>1>vtk_minimal.obj : error LNK2019: unresolved external symbol "public: static class vtkConeSource * __cdecl vtkConeSource::New(void)" (?New@vtkConeSource@@SAPAV1@XZ) referenced in function _main</div><div>
1>vtk_minimal.obj : error LNK2019: unresolved external symbol "public: class vtkAlgorithmOutput * __thiscall vtkAlgorithm::GetOutputPort(int)" (?GetOutputPort@vtkAlgorithm@@QAEPAVvtkAlgorithmOutput@@H@Z) referenced in function "public: class vtkAlgorithmOutput * __thiscall vtkAlgorithm::GetOutputPort(void)" (?GetOutputPort@vtkAlgorithm@@QAEPAVvtkAlgorithmOutput@@XZ)</div>
<div>1>Debug/../bin/vtk_minimal_d.exe : fatal error LNK1120: 10 unresolved externals</div><div><br></div><div>Please help me.</div><div><br></div><div>Thanks.</div><div><br></div><br>
</div>