Closed kwabenantim closed 11 months ago
VTK 9.0.3 build fails:
#10 981.5 In file included from /home/runner/modules/src/vtk/VTK-9.0.3/Common/Core/vtkGenericDataArray.h:72,
#10 981.5 from /home/runner/modules/src/vtk/VTK-9.0.3/Common/Core/vtkGenericDataArray.cxx:25:
#10 981.5 /home/runner/modules/src/vtk/VTK-9.0.3/Common/Core/vtkGenericDataArrayLookupHelper.h: In function 'bool detail::isnan(T)':
#10 981.5 /home/runner/modules/src/vtk/VTK-9.0.3/Common/Core/vtkGenericDataArrayLookupHelper.h:52:26: error: 'numeric_limits' is not a member of 'std'
#10 981.5 52 | return has_NaN<T, std::numeric_limits<T>::has_quiet_NaN>::isnan(x);
#10 981.5 | ^~~~~~~~~~~~~~
#10 981.5 /home/runner/modules/src/vtk/VTK-9.0.3/Common/Core/vtkGenericDataArrayLookupHelper.h:52:26: error: 'numeric_limits' is not a member of 'std'
#10 981.5 /home/runner/modules/src/vtk/VTK-9.0.3/Common/Core/vtkGenericDataArrayLookupHelper.h:52:42: error: template argument 2 is invalid
#10 981.5 52 | return has_NaN<T, std::numeric_limits<T>::has_quiet_NaN>::isnan(x);
#10 981.5 | ^
#10 981.7 In file included from /home/runner/modules/src/vtk/VTK-9.0.3/Common/Core/vtkGenericDataArray.cxx:27:
#10 981.7 /home/runner/modules/src/vtk/VTK-9.0.3/Common/Core/vtkDataArrayPrivate.txx: In function 'bool vtkDataArrayPrivate::detail::isinf(T)':
#10 981.7 /home/runner/modules/src/vtk/VTK-9.0.3/Common/Core/vtkDataArrayPrivate.txx:97:31: error: 'numeric_limits' is not a member of 'std'
#10 981.7 97 | return has_infinity<T, std::numeric_limits<T>::has_infinity>::isinf(x);
#10 981.7 | ^~~~~~~~~~~~~~
#10 981.7 /home/runner/modules/src/vtk/VTK-9.0.3/Common/Core/vtkDataArrayPrivate.txx:97:31: error: 'numeric_limits' is not a member of 'std'
#10 981.7 /home/runner/modules/src/vtk/VTK-9.0.3/Common/Core/vtkDataArrayPrivate.txx:97:47: error: template argument 2 is invalid
#10 981.7 97 | return has_infinity<T, std::numeric_limits<T>::has_infinity>::isinf(x);
#10 981.7 |
Looks as though it's missing the <limits>
header....
Looks as though it's missing the
<limits>
header....
Thanks @fcooper8472. I'll make a patch for it.
Possibly some useful patches here too: https://sources.debian.org/patches/vtk9/
The chaste/runner:jammy.portability-05 docker image now has VTK 9.1.0.
The chaste/runner:jammy.portability-03 docker image now has VTK 9.0.3.
Description We would like to run regular Chaste portability tests with VTK 9.0.x and 9.1.x.
Potential solutions:
Related Issues
To Do