[vtk-developers] 32bit IDs on 64 bit machine

Brad King brad.king at kitware.com
Thu Jul 17 10:12:00 EDT 2008


John Biddiscombe wrote:
> Problem went away when I did a make clean in VTK/GUISupport.
> 
> Question is, why did
> 
> make rebuild_cache
> make
> ERRORS
> 
> touch VTK/vtkConfigure.h
> make
> ERRORS
> 
> cd VTK/GUISupport
> make clean
> cd ../../
> make
> 
> NO ERRORS
> 
> Why did the touch and rebuild cache commmands not cause vtkGuiSupport to
> be rebuilt? what is wrong with cmake that the dependency on vtkConfigure
> is not triggering a rebuild?

What version of CMake?  What version of ParaView/VTK?

-Brad

>> 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
>>
> 
> 




More information about the vtk-developers mailing list