[vtk-developers] 32bit IDs on 64 bit machine
John Biddiscombe
biddisco at cscs.ch
Thu Jul 17 02:58:52 EDT 2008
When re-building paraview with VTK_USE_64BIT_IDS OFF on a 64 bit
machine, I get the following link errors
Linking CXX executable ../../bin/paraview
/project/csvis/biddisco/build/pv-rigi/bin/libQVTK.so: undefined
reference to `vtkQtTableModelAdapter::PedigreeToId(long long) const'
/project/csvis/biddisco/build/pv-rigi/bin/libQVTK.so: undefined
reference to `vtkQtTreeModelAdapter::PedigreeToQModelIndex(long long) const'
/project/csvis/biddisco/build/pv-rigi/bin/libQVTK.so: undefined
reference to `vtkQtTreeModelAdapter::PedigreeToId(long long) const'
/project/csvis/biddisco/build/pv-rigi/bin/libQVTK.so: undefined
reference to `vtkQtTreeModelAdapter::IdToPedigree(long long) const'
/project/csvis/biddisco/build/pv-rigi/bin/libQVTK.so: undefined
reference to `vtkQtTableModelAdapter::PedigreeToQModelIndex(long long)
const'
/project/csvis/biddisco/build/pv-rigi/bin/libQVTK.so: undefined
reference to `vtkQtTableModelAdapter::IdToPedigree(long long) const'
collect2: ld returned 1 exit status
I will see if I can fix this, but if whoever maintains the classes
vtkQtTableModelAdapter/etc wants to chime in with the correct fix, then
please do.
[pause]
Looking at the code, I can see that vtkIdType is being set to int and
the vtkQtTree* classes use vtkIdType, so why long long is appearing, I
have no idea.
JB
--
John Biddiscombe, email:biddisco @ cscs.ch
http://www.cscs.ch/about/BJohn.php
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
More information about the vtk-developers
mailing list