Dear All<br><br>I am trying to use the simple example from the VTK documentation on vtkXYPlotActor, but I get the following error when linking:<br>*<br clear="all">/home/aalbert/VTK/VTK-build/bin/libvtkHybrid.a(vtkXYPlotActor.o): In function `vtkXYPlotActor::vtkXYPlotActor()':vtkXYPlotActor.cxx:(.text+0xebc): undefined reference to `vtkGlyphSource2D::New()'<br>
/home/aalbert/VTK/VTK-build/bin/libvtkHybrid.a(vtkXYPlotActor.o): In function `vtkXYPlotActor::vtkXYPlotActor()':vtkXYPlotActor.cxx:(.text+0x1884): undefined reference to `vtkGlyphSource2D::New()'<br>/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()'<br>
:vtkXYPlotActor.cxx:(.text+0x97ae): undefined reference to `vtkAppendPolyData::New()'<br>:vtkXYPlotActor.cxx:(.text+0x97e6): undefined reference to `vtkAppendPolyData::AddInput(vtkPolyData*)'<br>:vtkXYPlotActor.cxx:(.text+0x9927): undefined reference to `vtkAppendPolyData::AddInput(vtkPolyData*)'<br>
/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*)'<br>
/home/aalbert/VTK/VTK-build/bin/libvtkHybrid.a(vtkLegendBoxActor.o): In function `vtkLegendBoxActor::SetNumberOfEntries(int)':vtkLegendBoxActor.cxx:(.text+0x18d9): undefined reference to `vtkTransformPolyDataFilter::New()'<br>
collect2: ld returned 1 exit status<br>make[2]: *** [ieee_proj] Error 1<br>*<br><br>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?<br>
<br>Thanks for your help!<br>Adrian<br>-- <br>---------------------------------------------------<br>Adrian Albert<br>School of Engineering and Science<br>Jacobs University Bremen<br>Germany<br>Tel.: 00494212003258