Yes, the problem is solved. It just need to link to the vtkagl.lib.<br><br>Thank you very much.<br><br>Wenlong<br><br><div class="gmail_quote">2011/10/25 David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></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 2:09 PM, Wenlong Wang <<a href="mailto:scc.wwl@gmail.com">scc.wwl@gmail.com</a>> wrote:<br>

> Dear all,<br>
><br>
> I'm trying to run example at<br>
> <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/vtkPCAStatistics" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/vtkPCAStatistics</a>.<br>
><br>
> Although I linked the right library file(vtkInfovis.lib), there are still<br>
> four errors about unresolved external symbols.<br>
><br>
> 1. bool __cdecl rmatrixsvd(class<br>
> ap::template_2d_array<double,1>,int,int,int,int,int,class<br>
> ap::template_1d_array<double,1> &,class ap::template_2d_array<double,1><br>
> &,class ap::template_2d_array<double,1> &)<br>
> 2. void __cdecl ap::afree(void *)<br>
> 3. void __cdecl ap::vmove(double *,double const *,int)<br>
> 4. void * __cdecl ap::amalloc(unsigned int,unsigned int)<br>
><br>
> Can anyone give me some suggestions? Many thanks in advance.<br>
><br>
> Best wishes<br>
> Wenlong<br>
<br>
</div></div>This question is more appropriate for the vtk-users list. However, I<br>
think you have already solved the problem? If so, reply to this thread<br>
so that it is "closed."<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br>