lib info updates & vtk>5.2 needs vtkFiltering lib

pull/1/head
Thorsten Liebig 2011-04-08 12:27:42 +02:00
parent 91ba3a6f6f
commit 143b561362
2 changed files with 8 additions and 2 deletions

View File

@ -48,7 +48,8 @@ win32 {
/usr/include/vtk-5.6
LIBS += -lvtkCommon \
-lvtkIO \
-lvtksys
-lvtksys \
-lvtkFiltering
}
QMAKE_LFLAGS += \'-Wl,-rpath,\$$ORIGIN/../CSXCAD\'
QMAKE_LFLAGS += \'-Wl,-rpath,\$$ORIGIN/../fparser\'

View File

@ -36,6 +36,7 @@
#include "Common/processfields_sar.h"
#include <H5Cpp.h> // only for H5get_libversion()
#include <boost/version.hpp> // only for BOOST_LIB_VERSION
#include <vtkVersion.h>
//external libs
#include "tinyxml.h"
@ -196,7 +197,11 @@ string openEMS::GetExtLibsInfo()
str << "\t\t" << "tinyxml -- compiled against: " << TIXML_MAJOR_VERSION << '.' << TIXML_MINOR_VERSION << '.' << TIXML_PATCH_VERSION << endl;
// boost
str << "\t\t" << "boost -- compiled against: " BOOST_LIB_VERSION << endl;
str << "\t\t" << "boost -- compiled against: " << BOOST_LIB_VERSION << endl;
//vtk
str << "\t\t" << "vtk -- Version: " << vtkVersion::GetVTKMajorVersion() << "." << vtkVersion::GetVTKMinorVersion() << "." << vtkVersion::GetVTKBuildVersion() << endl;
str << "\t\t" << " compiled against: " << VTK_VERSION << endl;
return str.str();
}