[vtkusers] errors in vtkXYPlotActor?

Adrian Albert a.albert at jacobs-university.de
Wed Apr 30 15:04:50 EDT 2008


Dear All

I am trying to use the simple example from the VTK documentation on
vtkXYPlotActor, but I get the following error when linking:
*
/home/aalbert/VTK/VTK-build/bin/libvtkHybrid.a(vtkXYPlotActor.o): In
function
`vtkXYPlotActor::vtkXYPlotActor()':vtkXYPlotActor.cxx:(.text+0xebc):
undefined reference to `vtkGlyphSource2D::New()'
/home/aalbert/VTK/VTK-build/bin/libvtkHybrid.a(vtkXYPlotActor.o): In
function
`vtkXYPlotActor::vtkXYPlotActor()':vtkXYPlotActor.cxx:(.text+0x1884):
undefined reference to `vtkGlyphSource2D::New()'
/home/aalbert/VTK/VTK-build/bin/libvtkHybrid.a(vtkXYPlotActor.o): In
function `vtkXYPlotActor::CreatePlotData(int*, int*, double*, double*,
double*, int, int)':vtkXYPlotActor.cxx:(.text+0x973f): undefined reference
to `vtkGlyph2D::New()'
:vtkXYPlotActor.cxx:(.text+0x97ae): undefined reference to
`vtkAppendPolyData::New()'
:vtkXYPlotActor.cxx:(.text+0x97e6): undefined reference to
`vtkAppendPolyData::AddInput(vtkPolyData*)'
:vtkXYPlotActor.cxx:(.text+0x9927): undefined reference to
`vtkAppendPolyData::AddInput(vtkPolyData*)'
/home/aalbert/VTK/VTK-build/bin/libvtkHybrid.a(vtkXYPlotActor.o): In
function
`vtkGlyph3D::SetSource(vtkPolyData*)':vtkXYPlotActor.cxx:(.gnu.linkonce.t._ZN10vtkGlyph3D9SetSourceEP11vtkPolyData[vtkGlyph3D::SetSource(vtkPolyData*)]+0x1c):
undefined reference to `vtkGlyph3D::SetSource(int, vtkPolyData*)'
/home/aalbert/VTK/VTK-build/bin/libvtkHybrid.a(vtkLegendBoxActor.o): In
function
`vtkLegendBoxActor::SetNumberOfEntries(int)':vtkLegendBoxActor.cxx:(.text+0x18d9):
undefined reference to `vtkTransformPolyDataFilter::New()'
collect2: ld returned 1 exit status
make[2]: *** [ieee_proj] Error 1
*

I am including vtkHybrid in the CMakeList.txt file, and all the includes are
ok in my project. What am I doing wrong? Am I not including all the needed
libraries?

Thanks for your help!
Adrian
-- 
---------------------------------------------------
Adrian Albert
School of Engineering and Science
Jacobs University Bremen
Germany
Tel.: 00494212003258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080430/1aa18a81/attachment.htm>


More information about the vtkusers mailing list