[vtkusers] Which lib file must I link for vtkMedicalImageReader2 ?

David Doria daviddoria at gmail.com
Wed Jan 26 08:20:24 EST 2011


The best way to figure this out is to see where the file is:

[doriad at localhost VTK]$ find . -name vtkMedicalImageReader2*
./IO/vtkMedicalImageReader2.h
./IO/vtkMedicalImageReader2.cxx

The path indicates which library you probably need to link to, i.e. here vtkIO.

Also, on the Examples Wiki every example comes with a CMakeLists.txt
from which you can gather this information.

In this case, there is no example of using vtkMedicalImageReader2!
Once you get this working, maybe you could add one here:
http://www.vtk.org/Wiki/VTK/Examples/Cxx#Input_3

Thanks,

David



More information about the vtkusers mailing list