[vtkusers] problem with xyPlot

David Doria daviddoria+vtk at gmail.com
Sun Mar 28 12:51:41 EDT 2010


On Sun, Mar 28, 2010 at 12:48 PM, <edoardo.belletti at alice.it> wrote:

>  Ok thank you very much, but now the error is:
>
> Scanning dependencies of target xyPlot
>
> [100%] Building CXX object CMakeFiles/xyPlot.dir/xyPlot.o
> Linking CXX executable xyPlot
> CMakeFiles/xyPlot.dir/xyPlot.o: In function `main':
> xyPlot.cxx:(.text+0x565): undefined reference to `vtkXYPlotActor::New()'
> xyPlot.cxx:(.text+0x7e1): undefined reference to `vtkXYPlotActor::New()'
> xyPlot.cxx:(.text+0xa35): undefined reference to `vtkXYPlotActor::New()'
> CMakeFiles/xyPlot.dir/xyPlot.o: In function
> `vtkXYPlotActor::AddInput(vtkDataSet*)':
> xyPlot.cxx:(.text._ZN14vtkXYPlotActor8AddInputEP10vtkDataSet[vtkXYPlotActor::AddInput(vtkDataSet*)]+0x24):
> undefined reference to `vtkXYPlotActor::AddInput(vtkDataSet*, char const*,
> int)'
> collect2: ld returned 1 exit status
> make[2]: *** [xyPlot] Errore 1
>
> make[1]: *** [CMakeFiles/xyPlot.dir/all] Errore 2
> make: *** [all] Errore 2
>
> I have found this script in a forum's discussion, I don't remember
> precisely where
>
> Thank you very much
> Edoardo
>
>
Please keep the discussion on the mailing list so everyone can benefit/help.

Sounds like you are not linking to vtkHybrid.

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100328/3c369629/attachment.htm>


More information about the vtkusers mailing list