Hi David,<br><br>Thank you for your reply.<br><br>I&#39;ve checked the Infovis in the Project-&gt;C/C++-&gt;Additional Include Directory. And my VTK version has been updated to 5.8.0.<br><br>So that&#39;s the most confusing part. It seems I&#39;ve done evrything right, but it just doesn&#39;t work.<br>
<br>And I am thinking about if I should use the CMake to reconfigure the project, However, my program is a MFC program and it&#39;s half done. I&#39;m not sure if I use CMake now would be benifit.<br><br>Wenlong<br><br><div class="gmail_quote">
2011/10/25 David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Tue, Oct 25, 2011 at 1:09 PM, Wenlong Wang &lt;<a href="mailto:scc.wwl@gmail.com">scc.wwl@gmail.com</a>&gt; wrote:<br>
&gt; Hi everyone,<br>
&gt;<br>
&gt; I&#39;m using vtkPCAStatistics in my application.<br>
&gt;<br>
&gt; Before I use it, my program runs well. Then I included the<br>
&gt; vtkPCAStatistics.h in my project and created an instance of it. As I compile<br>
&gt; the codes, the VS2008 compilers pops an error message as follows.<br>
&gt;<br>
&gt; error LNK2019: unresolved external symbol  &quot;public: void __thiscall<br>
&gt; vtkPCAStatistics::GetEigenvector(int,class vtkDoubleArray *)<br>
&gt;<br>
&gt; I checked the header file directory and it is already be added to the<br>
&gt; additional include directory of project property.<br>
&gt;<br>
&gt; Can anyone help me out of this? Thank you very much!<br>
&gt;<br>
&gt; Best wishes<br>
&gt; Long<br>
<br>
<br>
</div></div>Either 1) you are not linking to vtkInfovis or 2) Your VTK version is<br>
too old (before we added GetEigenvector).<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br>