[vtkusers] Is it possible to retrieve VTK version from any library?
Guillaume Jacquenot
guillaume.jacquenot at gmail.com
Thu Jul 5 07:06:58 EDT 2012
Dear all,
Is it possible to retrieve VTK version from any C++ static or dynamic
libraries?
Let me explain a little more.
I know VTK version number is defined in vtkConfigure.h, and that it is also
available in library vtkCommon with functions
static const char *GetVTKVersion() { return VTK_VERSION; }
static int GetVTKMajorVersion() { return VTK_MAJOR_VERSION; }
static int GetVTKMinorVersion() { return VTK_MINOR_VERSION; }
static int GetVTKBuildVersion() { return VTK_BUILD_VERSION; }
Library vtkCommon is quite large (about 40Mo), and my project does not
require vtkCommon (only vtkIO vtkHybrid).
So I would like to know if it is possible to retrieve these informations
from any static or dynamic library (for example vtkIO vtkHybrid)
Best regards
Guillaume Jacquenot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120705/3d499c39/attachment.htm>
More information about the vtkusers
mailing list