ParaView 5.11 RC2 compilation issue with VS 2017
Hi Paraview 5.11 RC2 candidate fails to compile on Windows with Visual Studio C++ 2017 because of one header which was removed from vtkUniformHyperTreeGrid.h header file. Header was present in RC1.
--- ParaView-5.11-RC2-ref/VTK/Common/DataModel/vtkUniformHyperTreeGrid.h 2022-10-27 17:11:36.740861077 +0200
+++ ParaView-5.11-RC2-fix/VTK/Common/DataModel/vtkUniformHyperTreeGrid.h 2022-10-27 17:11:46.572811110 +0200
@@ -30,6 +30,7 @@
#ifndef vtkUniformHyperTreeGrid_h
#define vtkUniformHyperTreeGrid_h
+#include <algorithm> // std::min/std::max
#include "limits.h" // UINT_MAX
#include <cmath> // std::round
Enclosed the patch: vtkUniformHyperTreeGrid.h.patch
I did not test with more recent versions of Visual Studio c++ versions. Regards
Edited by Nabil G.