<div dir="ltr">Don't forget to check the INFOVIS in cmake when building vtk if you want tot use vtkCharts.<br><br>Charts depends on INFOVIS.<br><br>Jothy<br><br><div class="gmail_quote">On Fri, Jun 22, 2012 at 3:31 PM, Andrew Parker <span dir="ltr"><<a href="mailto:andy.john.parker@googlemail.com" target="_blank">andy.john.parker@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>I get this weird linking error, whether I use:</div><div>INCLUDE(${VTK_USE_FILE})</div><div>TARGET_LINK_LIBRARIES(EXE ${VTK_LIBRARIES}) or</div>
<div>TARGET_LINK_LIBRARIES(EXE vtkHybrid vtkCharts) </div>
<div><br></div><div>the latter of which work successfully for ages on 5.8.0?? I am assuming it is this?</div><div><br></div><div>Any thoughts really appreciated?</div><div>Cheers,</div><div>Andy</div><div><br clear="all">
<div><div>/INSTALLS-based-on-gcc-4.7.1/vtk-5.10.0/bin/libvtkCharts.a(vtkPlotStacked.cxx.o): In function `vtkPlotStackedSegment::Configure(vtkPlotStacked*, vtkDataArray*, vtkDataArray*, vtkPlotStackedSegment*)': </div>
<div>vtkPlotStacked.cxx:(.text._ZN21vtkPlotStackedSegment9ConfigureEP14vtkPlotStackedP12vtkDataArrayS3_PS_[_ZN21vtkPlotStackedSegment9ConfigureEP14vtkPlotStackedP12vtkDataArrayS3_PS_]+0x2a7): undefined reference to `vtkMath::IsInf(double)'</div>
<div>vtkPlotStacked.cxx:(.text._ZN21vtkPlotStackedSegment9ConfigureEP14vtkPlotStackedP12vtkDataArrayS3_PS_[_ZN21vtkPlotStackedSegment9ConfigureEP14vtkPlotStackedP12vtkDataArrayS3_PS_]+0x2ba): undefined reference to `vtkMath::IsInf(double)'</div>
<div>vtkPlotStacked.cxx:(.text._ZN21vtkPlotStackedSegment9ConfigureEP14vtkPlotStackedP12vtkDataArrayS3_PS_[_ZN21vtkPlotStackedSegment9ConfigureEP14vtkPlotStackedP12vtkDataArrayS3_PS_]+0x2cc): undefined reference to `vtkMath::IsNan(double)'</div>
<div>vtkPlotStacked.cxx:(.text._ZN21vtkPlotStackedSegment9ConfigureEP14vtkPlotStackedP12vtkDataArrayS3_PS_[_ZN21vtkPlotStackedSegment9ConfigureEP14vtkPlotStackedP12vtkDataArrayS3_PS_]+0x2df): undefined reference to `vtkMath::IsNan(double)'</div>
<div>/INSTALLS-based-on-gcc-4.7.1/vtk-5.10.0/bin/libvtkCharts.a(vtkPlotPoints.cxx.o): In function `vtkPlotPoints::FindBadPoints()':</div><div>vtkPlotPoints.cxx:(.text+0xdc5a): undefined reference to `vtkMath::IsInf(double)'</div>
<div>vtkPlotPoints.cxx:(.text+0xdc6d): undefined reference to `vtkMath::IsInf(double)'</div><div>vtkPlotPoints.cxx:(.text+0xdc7f): undefined reference to `vtkMath::IsNan(double)'</div><div>vtkPlotPoints.cxx:(.text+0xdc92): undefined reference to `vtkMath::IsNan(double)'</div>
<div>collect2: error: ld returned 1 exit status</div><div>make[2]: *** [solver] Error 1</div></div><div><br></div>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothybasu Selvaraj<br>PhD Student<br>University of Liverpool<br>UK<br></div><br>
</div>