<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi all,<BR>
&nbsp;<BR>
I am a newb of VTK, I ame going to do a project by using Visual studio 2008 and VTK. So I downloaded and&nbsp;set the VTK source&nbsp;by CMAKE and generated the VTK.sln. After that I compiled the VTK project by using VS 2008 and built the INSTALL project. I also added the VS-&gt;Tools-&gt;Options-&gt;VC++Directories-&gt;Include file&nbsp;"&lt;my install path&gt;/include/vtk-5.0" and added the VS-&gt;Tools-&gt;Options-&gt;VC++Directories-&gt;Library file&nbsp;"&lt;my install path&gt;\lib".<BR>
&nbsp;<BR>
But when I tried to declare a vtkPoints pointer variable, <BR>
&nbsp;<BR>
#include &lt;vtkPoints.h&gt;<BR>
...<BR>
void DrawDelaunay2D()<BR>
{<BR>
&nbsp; vtkPoints *pts = vtkPoints::New();<BR>
}<BR>
...<BR>
<BR>I still get an link error message:<BR>
&nbsp;<BR>
1&gt;Stroke.obj : error LNK2019: unresolved external symbol "public: static class vtkPoints * __cdecl vtkPoints::New(void)" (<A href="mailto:?New@vtkPoints@@SAPAV1@XZ">?New@vtkPoints@@SAPAV1@XZ</A>) referenced in function "public: void __thiscall Stroke::processStroke(void)" (<A href="mailto:?processStroke@Stroke@@QAEXXZ">?processStroke@Stroke@@QAEXXZ</A>)<BR>1&gt;C:\Documents and Settings\Rong\My Documents\Visual Studio 2008\Projects\LifeSketch\Debug\LifeSketch.exe : fatal error LNK1120: 1 unresolved externals<BR>
&nbsp;<BR>
Can any1 plz tell me whats wrong with the installation or anyother thing might cause the error.<BR>
&nbsp;<BR>
I tried to check the mailing list, there was a guy facing similary problem and asked in Jun 2004 but there was no answer for his question.<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
Thanks<BR><BR>
<DIV><FONT color=#000066><FONT face="Verdana, Geneva, Arial, Sans-serif"><FONT size=2><U>YANG</U> Rong <BR></FONT><BR>20 Orton,</FONT></FONT></DIV>
<DIV><FONT color=#000066><FONT face="Verdana, Geneva, Arial, Sans-serif">Glenfield, AKL, <BR>New Zealand <BR><BR>Cell: +64 21 2355108</FONT></FONT></DIV>
<DIV><FONT face=Verdana color=#000066>Home phone: 09 4434960</FONT></DIV><br /><hr />用 Windows Live Spaces 展示个性自我,与好友分享生活!  <a href='http://spaces.live.com/?page=HP' target='_new'>了解更多信息!</a></body>
</html>