[vtkusers] Weird link error - possibly 4.7.1??

Andrew Parker andy.john.parker at googlemail.com
Fri Jun 22 10:42:47 EDT 2012


So I would do what? Sorry to be thick, include it, add to libraries?

Cheers,
Andy

On 22 June 2012 15:40, Jothybasu Selvaraj <jothybasu at gmail.com> wrote:

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


-- 

__________________________________

   Dr Andrew Parker

   Em at il:  andrew.parker at cantab.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120622/3759634b/attachment.htm>


More information about the vtkusers mailing list