[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

GDCM package: Undefined symbols



GDCM has been uploaded to debian, and there is already a bug report (*):

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529193

Linking CXX executable ../../../bin/gdcm2vtk
../../../bin/libvtkgdcm.so.2.0.10: undefined reference to
`vtkStringArray::GetValue(long long)'
../../../bin/libvtkgdcm.so.2.0.10: undefined reference to
`vtkDataArrayTemplate<long long>::InsertValue(long long, long long)'
../../../bin/libvtkgdcm.so.2.0.10: undefined reference to
`vtkDataArrayTemplate<unsigned short>::WritePointer(long long, long
long)'
../../../bin/libvtkgdcm.so.2.0.10: undefined reference to
`vtkDataArrayTemplate<unsigned char>::WritePointer(long long, long
long)'
../../../bin/libvtkgdcm.so.2.0.10: undefined reference to
`vtkDataArrayTemplate<long long>::WritePointer(long long, long long)'
../../../bin/libvtkgdcm.so.2.0.10: undefined reference to
`vtkDataArray::InsertTuple3(long long, double, double, double)'
../../../bin/libvtkgdcm.so.2.0.10: undefined reference to
`vtkLookupTable::SetNumberOfTableValues(long long)'
collect2: ld returned 1 exit status
make[3]: *** [bin/gdcm2vtk] Error 1

The missing symbols are all related to API using vtkIdType which is a
configurable type which can be 32bits or 64bits. So I am assuming that
on i386 system the VTK libraries are providing a
vtkStringArray::GetValue(long) symbol.

Just in case someone would be on a i386 system could they send me the output of:

$ nm -D ./bin/libvtkCommon.so | c++filt | grep vtkStringArray::GetValue

Thanks,
-- 
Mathieu


Reply to: