<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">Hello,</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"><br style="LINE-HEIGHT: 17px"></div>
<div style="LINE-HEIGHT: 17px"><font style="LINE-HEIGHT: normal" class="ecxApple-style-span" size="2" face="Tahoma">I am working on a project which 
requires the Delaunay triangulation operation. I&nbsp;decided&nbsp;to use vtk Delaunay2D 
class to do this task.</font></div>
<div style="LINE-HEIGHT: 17px"><font style="LINE-HEIGHT: normal" class="ecxApple-style-span" size="2" face="Tahoma">I&nbsp;garbed&nbsp;the vtk 5.6 source and 
built it by using MSVC 10 in windows 7.</font></div>
<div style="LINE-HEIGHT: 17px"><font style="LINE-HEIGHT: normal" class="ecxApple-style-span" size="2" face="Tahoma"><br style="LINE-HEIGHT: 17px"></font></div>
<div style="LINE-HEIGHT: 17px"><font style="LINE-HEIGHT: normal" class="ecxApple-style-span" size="2" face="Tahoma">In the project properties-&gt;VC++ 
Directories-&gt;Include Directories, I added the vtk h files 
location.</font></div>
<div style="LINE-HEIGHT: 17px"><font style="LINE-HEIGHT: normal" class="ecxApple-style-span" size="2" face="Tahoma">In the project properties-&gt;VC++ 
Directories-&gt;Library Directories, I added the lib file location.</font></div>
<div style="LINE-HEIGHT: 17px"><font style="LINE-HEIGHT: normal" class="ecxApple-style-span" size="2" face="Tahoma">I also put 
put&nbsp;vtkCommon.lib;vtkFiltering.lib;vtkGraphics.lib;vtkGenericFiltering.lib;vtkDICOMParser.lib 
to project properties-&gt;Linker-&gt;Input-&gt;Additional 
Dependencies.</font></div>
<div style="LINE-HEIGHT: 17px"><font style="LINE-HEIGHT: normal" class="ecxApple-style-span" size="2" face="Tahoma"><br style="LINE-HEIGHT: 17px"></font></div>
<div style="LINE-HEIGHT: 17px"><font style="LINE-HEIGHT: normal" class="ecxApple-style-span" size="2" face="Tahoma">When I compile my project, I got 
following compiling errors, it seems that I have told the compiler where is the 
function body of the vtk functions, but I think to set the additional 
dependencies should solve the problem. I also tried to added the vtk lib folder 
to the windows environment variable-&gt;path, have gotten luck :(</font></div>
<div style="LINE-HEIGHT: 17px"><font style="LINE-HEIGHT: normal" class="ecxApple-style-span" size="2" face="Tahoma"><br style="LINE-HEIGHT: 17px"></font></div>
<div style="LINE-HEIGHT: 17px"><font style="LINE-HEIGHT: normal" class="ecxApple-style-span" size="2" face="Tahoma">Anyone has any idea how can I solve 
the problem ?</font></div>
<div style="LINE-HEIGHT: 17px"><font style="LINE-HEIGHT: normal" class="ecxApple-style-span" size="2" face="Tahoma"><br style="LINE-HEIGHT: 17px"></font></div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt; 
&nbsp;Generating Code...</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt; 
&nbsp;Compiling...</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt; 
&nbsp;Color.cpp</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt; 
&nbsp;Generating Code...</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt;lsMeshGenerator.obj 
: error LNK2019: unresolved external symbol "public: class vtkCellArray * 
__thiscall vtkPolyData::GetPolys(void)" 
(?GetPolys@vtkPolyData@@QAEPAVvtkCellArray@@XZ) referenced in function "public: 
class lsMesh * __thiscall MeshGenerator::ConvertVTKPolyDataToLSMesh(class lsMesh 
*,class vtkDelaunay2D *)" 
(?ConvertVTKPolyDataToLSMesh@MeshGenerator@@QAEPAVlsMesh@@PAV2@PAVvtkDelaunay2D@@@Z)</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt;lsMeshGenerator.obj 
: error LNK2019: unresolved external symbol "public: void __thiscall 
vtkPolyData::BuildLinks(int)" (?BuildLinks@vtkPolyData@@QAEXH@Z) referenced in 
function "public: class lsMesh * __thiscall 
MeshGenerator::ConvertVTKPolyDataToLSMesh(class lsMesh *,class vtkDelaunay2D *)" 
(?ConvertVTKPolyDataToLSMesh@MeshGenerator@@QAEPAVlsMesh@@PAV2@PAVvtkDelaunay2D@@@Z)</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt;lsMeshGenerator.obj 
: error LNK2019: unresolved external symbol "public: class vtkPolyData * 
__thiscall vtkPolyDataAlgorithm::GetOutput(void)" 
(?GetOutput@vtkPolyDataAlgorithm@@QAEPAVvtkPolyData@@XZ) referenced in function 
"public: class lsMesh * __thiscall 
MeshGenerator::ConvertVTKPolyDataToLSMesh(class lsMesh *,class vtkDelaunay2D *)" 
(?ConvertVTKPolyDataToLSMesh@MeshGenerator@@QAEPAVlsMesh@@PAV2@PAVvtkDelaunay2D@@@Z)</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt;lsStrokeModel.obj 
: error LNK2019: unresolved external symbol "public: void __thiscall 
vtkDelaunay2D::SetSource(class vtkPolyData *)" 
(?SetSource@vtkDelaunay2D@@QAEXPAVvtkPolyData@@@Z) referenced in function 
"public: void __thiscall lsStrokeModel::ProcessStroke(void)" 
(?ProcessStroke@lsStrokeModel@@QAEXXZ)</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt;lsStrokeModel.obj 
: error LNK2019: unresolved external symbol "public: void __thiscall 
vtkPolyDataAlgorithm::SetInput(class vtkDataObject *)" 
(?SetInput@vtkPolyDataAlgorithm@@QAEXPAVvtkDataObject@@@Z) referenced in 
function "public: void __thiscall lsStrokeModel::ProcessStroke(void)" 
(?ProcessStroke@lsStrokeModel@@QAEXXZ)</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt;lsStrokeModel.obj 
: error LNK2019: unresolved external symbol "public: static class vtkDelaunay2D 
* __cdecl vtkDelaunay2D::New(void)" (?New@vtkDelaunay2D@@SAPAV1@XZ) referenced 
in function "public: void __thiscall lsStrokeModel::ProcessStroke(void)" 
(?ProcessStroke@lsStrokeModel@@QAEXXZ)</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt;lsStrokeModel.obj 
: error LNK2019: unresolved external symbol "public: void __thiscall 
vtkPolyData::SetPolys(class vtkCellArray *)" 
(?SetPolys@vtkPolyData@@QAEXPAVvtkCellArray@@@Z) referenced in function "public: 
void __thiscall lsStrokeModel::ProcessStroke(void)" 
(?ProcessStroke@lsStrokeModel@@QAEXXZ)</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt;lsStrokeModel.obj 
: error LNK2019: unresolved external symbol "public: static class vtkPolyData * 
__cdecl vtkPolyData::New(void)" (?New@vtkPolyData@@SAPAV1@XZ) referenced in 
function "public: void __thiscall lsStrokeModel::ProcessStroke(void)" 
(?ProcessStroke@lsStrokeModel@@QAEXXZ)</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt;lsStrokeModel.obj 
: error LNK2019: unresolved external symbol "public: static class vtkCellArray * 
__cdecl vtkCellArray::New(void)" (?New@vtkCellArray@@SAPAV1@XZ) referenced in 
function "public: void __thiscall lsStrokeModel::ProcessStroke(void)" 
(?ProcessStroke@lsStrokeModel@@QAEXXZ)</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt;lsStrokeModel.obj 
: error LNK2019: unresolved external symbol "public: static class vtkPoints * 
__cdecl vtkPoints::New(void)" (?New@vtkPoints@@SAPAV1@XZ) referenced in function 
"public: void __thiscall lsStrokeModel::ProcessStroke(void)" 
(?ProcessStroke@lsStrokeModel@@QAEXXZ)</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt;lsStrokeModel.obj 
: error LNK2019: unresolved external symbol "public: __int64 __thiscall 
vtkDataArrayTemplate&lt;__int64&gt;::InsertNextValue(__int64)" 
(?InsertNextValue@?$vtkDataArrayTemplate@_J@@QAE_J_J@Z) referenced in function 
"public: __int64 __thiscall vtkIdTypeArray::InsertNextValue(__int64)" 
(?InsertNextValue@vtkIdTypeArray@@QAE_J_J@Z)</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">1&gt;lsStrokeModel.obj 
: error LNK2019: unresolved external symbol "public: void __thiscall 
vtkDataArrayTemplate&lt;__int64&gt;::InsertValue(__int64,__int64)" 
(?InsertValue@?$vtkDataArrayTemplate@_J@@QAEX_J0@Z) referenced in function 
"public: void __thiscall vtkIdTypeArray::InsertValue(__int64,__int64)" 
(?InsertValue@vtkIdTypeArray@@QAEX_J0@Z)</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"><br style="LINE-HEIGHT: 17px"></div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"><br style="LINE-HEIGHT: 17px"></div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"><br style="LINE-HEIGHT: 17px"></div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">Cheers!</div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"><br style="LINE-HEIGHT: 17px"></div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"><br style="LINE-HEIGHT: 17px"></div>
<div style="LINE-HEIGHT: 17px; FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">Rong</div>                                               </body>
</html>