From 1138b412c0e0f073f74044c4e6b3490318e24072 Mon Sep 17 00:00:00 2001 From: delmon <delmon> Date: Tue, 12 Apr 2011 08:32:06 +0000 Subject: [PATCH] Protect vtkMPEG2Writer.h which is not anymore in vtk's includes if vtk is not compile with VTK_USE_MPEG2_ENCODER. --- vv/vvMainWindow.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 7a95ae6..06e42e8 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -66,7 +66,9 @@ #include <vtkPNGWriter.h> #include <vtkJPEGWriter.h> #include <vtkFFMPEGWriter.h> -#include <vtkMPEG2Writer.h> +#ifdef VTK_USE_MPEG2_ENCODER + #include <vtkMPEG2Writer.h> +#endif #include <vtkMatrix4x4.h> #include <vtkTransform.h> -- 2.47.1