<div dir="ltr"><div><div>Hi:<br><br>I was trying to migrate my code from VTK-5 to VTK-6. I built shared and static versions of VTK-6.1.0 on my linux machine. I can successfully build my library with the shared VTK-6.1.0. However, when linking with static libraries, I got several linking errors as follows.<br><br>/org/groups/hughes/juliu/lib/lin/VTK-6.1.0-static/lib/libvtkIOLegacy-6.1.a(vtkUnstructuredGridWriter.cxx.o):(.rodata._ZTV25vtkUnstructuredGridWriter[vtable for vtkUnstructuredGridWriter]+0x1e0): undefined reference to `vtkAlgorithm::ComputePriority()'<br><br></div>I cannot understand this error. According to the doxygen page, the vtkAlgorithm class should be implemented in the vtkCommonExecutionModel-6.1 library, which I already linked to in my makefile. <br><br>Can anyone give a hint of what is going wrong in my case.<br><br></div>Many thanks,<br><br>Ju<br><div><div><br></div></div></div>