[vtkusers] Include file problem

David Doria daviddoria at gmail.com
Tue Oct 25 13:17:58 EDT 2011


On Tue, Oct 25, 2011 at 1:09 PM, Wenlong Wang <scc.wwl at gmail.com> wrote:
> Hi everyone,
>
> I'm using vtkPCAStatistics in my application.
>
> Before I use it, my program runs well. Then I included the
> vtkPCAStatistics.h in my project and created an instance of it. As I compile
> the codes, the VS2008 compilers pops an error message as follows.
>
> error LNK2019: unresolved external symbol  "public: void __thiscall
> vtkPCAStatistics::GetEigenvector(int,class vtkDoubleArray *)
>
> I checked the header file directory and it is already be added to the
> additional include directory of project property.
>
> Can anyone help me out of this? Thank you very much!
>
> Best wishes
> Long


Either 1) you are not linking to vtkInfovis or 2) Your VTK version is
too old (before we added GetEigenvector).

David



More information about the vtkusers mailing list