I already have
VTK_USE_INFOVIS ON set, and therefore it's built like that. What do I do now, is there something else I should be linking or including if this is the case?<div><br>Andy<br><br><div class="gmail_quote">On 22 June 2012 16:06, Jothybasu Selvaraj <span dir="ltr"><<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If you haven't built vtk with infovis, I would suggest you rebuild vtk with infovis.<br><br>There was a long discussion on the list regarding these dependencies when RC 5.10 was released.<br>
<br>Eventually no way was found to skip infovis while using charts. Some of the charts classes depend on infovis classes.<br>
<br>I am not sure whether it has been fixed in the stable release. i was able to use charts only after building vtk with infovis!<br><br>Jothy<div><div class="h5"><br><br><div class="gmail_quote">On Fri, Jun 22, 2012 at 3:42 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">So I would do what? Sorry to be thick, include it, add to libraries?<div><br>Cheers,</div><div>Andy<div><div>
<br><br><div class="gmail_quote">On 22 June 2012 15:40, Jothybasu Selvaraj <span dir="ltr"><<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><div><div>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>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>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></div></div>_______________________________________________<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><span><font color="#888888"><br><br clear="all"><br>-- <br><div dir="ltr">Jothybasu Selvaraj<br>PhD Student<br>University of Liverpool<br>UK<br></div><br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><p>__________________________________</p><p> Dr Andrew Parker</p><p> <a href="mailto:Em@il" target="_blank">Em@il</a>: <a href="mailto:andrew.parker@cantab.net" target="_blank">andrew.parker@cantab.net</a></p>
<br>
</font></span></div>
</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></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><p>__________________________________</p><p> Dr Andrew Parker</p><p> <a href="mailto:Em@il" target="_blank">Em@il</a>: <a href="mailto:andrew.parker@cantab.net" target="_blank">andrew.parker@cantab.net</a></p>
<br>
</div>