<br>Dear all,<br><br>Is it possible to retrieve VTK version from any C++ static or dynamic libraries?<br>Let me explain a little more.<br><br>I know VTK version number is defined in vtkConfigure.h, and that it is also available in library vtkCommon with functions<br>
<br><span style="font-family:courier new,monospace"> static const char *GetVTKVersion() { return VTK_VERSION; }</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> static int GetVTKMajorVersion() { return VTK_MAJOR_VERSION; }</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> static int GetVTKMinorVersion() { return VTK_MINOR_VERSION; }</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> static int GetVTKBuildVersion() { return VTK_BUILD_VERSION; }</span><br>
<br>Library vtkCommon is quite large (about 40Mo), and my project does not require vtkCommon (only vtkIO vtkHybrid).<br><br>So I would like to know if it is possible to retrieve these informations from any static or dynamic library (for example vtkIO vtkHybrid)<br>
<br><br>Best regards<br><br>Guillaume Jacquenot<br>