[vtkusers] Include file problem
Wenlong Wang
scc.wwl at gmail.com
Tue Oct 25 13:30:23 EDT 2011
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't
linked the necessary .lib file.
I remember I turned vtk_use_guisupport, vtk_use_mfc and build_examples on
and other options were not changed.
Thank you very much.
Wenlong
2011/10/25 David Doria <daviddoria at gmail.com>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111025/0eff74d1/attachment.htm>
More information about the vtkusers
mailing list