Do you think I missed something when I installed VTK5.8.0 and configure it with CMake for  the first time? The error message indicates that I didn&#39;t linked the necessary .lib file.<br><br>I remember I turned vtk_use_guisupport, vtk_use_mfc and build_examples on and other options were not changed.<br>
<br>Thank you very much.<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>