ParaView 5.4.0 RC3 fails to compile - HPDF_Shading undefined
This is new with RC3 over RC2:
[ 59%] Building CXX object VTK/IO/Export/CMakeFiles/vtkIOExport.dir/vtkPDFContextDevice2D.cxx.o
cd /builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/IO/Export && /usr/bin/c++ -DVTK_IN_VTK -DvtkIOExport_EXPORTS -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/IO/Export -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Common/Core -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Common/Core -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Utilities/KWIML -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Utilities/KWIML -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Utilities/KWSys -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Utilities/KWSys -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Common/DataModel -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Common/DataModel -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Common/Math -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Common/Math -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Common/Misc -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Common/Misc -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Common/System -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Common/System -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Common/Transforms -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Common/Transforms -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Filters/Geometry -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Filters/Geometry -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Common/ExecutionModel -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Common/ExecutionModel -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Filters/Core -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Filters/Core -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/IO/Core -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Core -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/ThirdParty/lz4 -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/ThirdParty/lz4 -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/ThirdParty/zlib -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/ThirdParty/zlib -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/IO/Image -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Image -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Utilities/DICOMParser -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Utilities/DICOMParser -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Utilities/MetaIO/vtkmetaio -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Utilities/MetaIO -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Utilities/MetaIO -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/ThirdParty/jpeg -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/ThirdParty/jpeg -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/ThirdParty/png -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/ThirdParty/png -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/ThirdParty/tiff -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/ThirdParty/tiff -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Imaging/Core -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Imaging/Core -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Rendering/Context2D -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Rendering/Context2D -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Filters/General -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Filters/General -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Common/ComputationalGeometry -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Common/ComputationalGeometry -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Rendering/Core -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Rendering/Core -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Common/Color -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Common/Color -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Filters/Sources -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Filters/Sources -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Rendering/FreeType -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Rendering/FreeType -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/ThirdParty/freetype -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/ThirdParty/freetype -I/usr/include/freetype2 -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Rendering/GL2PSOpenGL2 -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Rendering/GL2PSOpenGL2 -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Rendering/OpenGL2 -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Rendering/OpenGL2 -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/Utilities/EncodeString -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/Utilities/EncodeString -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/ThirdParty/glew -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/ThirdParty/glew -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/ThirdParty/gl2ps -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/ThirdParty/gl2ps -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu/VTK/ThirdParty/libharu -I/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/ThirdParty/libharu -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++11 -o CMakeFiles/vtkIOExport.dir/vtkPDFContextDevice2D.cxx.o -c /builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx
make[2]: Leaving directory '/builddir/build/BUILD/ParaView-v5.4.0-RC3/x86_64-redhat-linux-gnu'
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:84:30: error: 'HPDF_Shading' has not been declared
HPDF_Shading shading)
^~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx: In function 'void {anonymous}::PolygonToShading(float*, int, unsigned char*, int, int)':
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:94:31: error: 'HPDF_FREE_FORM_TRI_MESH_EDGEFLAG_NO_CONNECTION' was not declared in this scope
HPDF_FREE_FORM_TRI_MESH_EDGEFLAG_NO_CONNECTION,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:93:5: error: 'HPDF_Shading_AddVertexRGB' was not declared in this scope
HPDF_Shading_AddVertexRGB(shading,
^~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:104:31: error: 'HPDF_FREE_FORM_TRI_MESH_EDGEFLAG_AC' was not declared in this scope
HPDF_FREE_FORM_TRI_MESH_EDGEFLAG_AC,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:103:5: error: 'HPDF_Shading_AddVertexRGB' was not declared in this scope
HPDF_Shading_AddVertexRGB(shading,
^~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx: At global scope:
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:113:48: error: 'HPDF_Shading' has not been declared
float radius, HPDF_Shading shading)
^~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:146:45: error: 'HPDF_Shading' has not been declared
float radius, HPDF_Shading shading)
^~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx: In member function 'virtual void vtkPDFContextDevice2D::DrawPoly(float*, int, unsigned char*, int)':
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:245:5: error: 'HPDF_Shading' was not declared in this scope
HPDF_Shading shading = HPDF_Shading_New(
^~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:245:5: note: suggested alternative: 'HPDF_String'
HPDF_Shading shading = HPDF_Shading_New(
^~~~~~~~~~~~
HPDF_String
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:248:60: error: 'shading' was not declared in this scope
PolyLineToShading(points, n, colors, nc_comps, radius, shading);
^~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:248:60: note: suggested alternative: 'stdin'
PolyLineToShading(points, n, colors, nc_comps, radius, shading);
^~~~~~~
stdin
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:249:5: error: 'HPDF_Page_SetShading' was not declared in this scope
HPDF_Page_SetShading(this->Impl->Page, shading);
^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:249:5: note: suggested alternative: 'HPDF_Page_SetSize'
HPDF_Page_SetShading(this->Impl->Page, shading);
^~~~~~~~~~~~~~~~~~~~
HPDF_Page_SetSize
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx: In member function 'virtual void vtkPDFContextDevice2D::DrawLines(float*, int, unsigned char*, int)':
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:292:5: error: 'HPDF_Shading' was not declared in this scope
HPDF_Shading shading = HPDF_Shading_New(
^~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:292:5: note: suggested alternative: 'HPDF_String'
HPDF_Shading shading = HPDF_Shading_New(
^~~~~~~~~~~~
HPDF_String
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:302:56: error: 'shading' was not declared in this scope
LineSegmentToShading(p1, rgb1, p2, rgb2, radius, shading);
^~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:302:56: note: suggested alternative: 'stdin'
LineSegmentToShading(p1, rgb1, p2, rgb2, radius, shading);
^~~~~~~
stdin
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:305:44: error: 'shading' was not declared in this scope
HPDF_Page_SetShading(this->Impl->Page, shading);
^~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:305:44: note: suggested alternative: 'stdin'
HPDF_Page_SetShading(this->Impl->Page, shading);
^~~~~~~
stdin
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:305:5: error: 'HPDF_Page_SetShading' was not declared in this scope
HPDF_Page_SetShading(this->Impl->Page, shading);
^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:305:5: note: suggested alternative: 'HPDF_Page_SetSize'
HPDF_Page_SetShading(this->Impl->Page, shading);
^~~~~~~~~~~~~~~~~~~~
HPDF_Page_SetSize
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx: In member function 'virtual void vtkPDFContextDevice2D::DrawColoredPolygon(float*, int, unsigned char*, int)':
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:648:3: error: 'HPDF_Shading' was not declared in this scope
HPDF_Shading shading = HPDF_Shading_New(this->Impl->Document,
^~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:648:3: note: suggested alternative: 'HPDF_String'
HPDF_Shading shading = HPDF_Shading_New(this->Impl->Document,
^~~~~~~~~~~~
HPDF_String
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:653:57: error: 'shading' was not declared in this scope
PolygonToShading(points, numPoints, colors, nc_comps, shading);
^~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:653:57: note: suggested alternative: 'stdin'
PolygonToShading(points, numPoints, colors, nc_comps, shading);
^~~~~~~
stdin
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:655:3: error: 'HPDF_Page_SetShading' was not declared in this scope
HPDF_Page_SetShading(this->Impl->Page, shading);
^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:655:3: note: suggested alternative: 'HPDF_Page_SetSize'
HPDF_Page_SetShading(this->Impl->Page, shading);
^~~~~~~~~~~~~~~~~~~~
HPDF_Page_SetSize
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx: In member function 'virtual void vtkPDFContextDevice2D::DrawPolyData(float*, float, vtkPolyData*, vtkUnsignedCharArray*, int)':
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:1013:3: error: 'HPDF_Shading' was not declared in this scope
HPDF_Shading shading = HPDF_Shading_New(this->Impl->Document,
^~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:1013:3: note: suggested alternative: 'HPDF_String'
HPDF_Shading shading = HPDF_Shading_New(this->Impl->Document,
^~~~~~~~~~~~
HPDF_String
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:1077:25: error: 'shading' was not declared in this scope
shading);
^~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:1077:25: note: suggested alternative: 'stdin'
shading);
^~~~~~~
stdin
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:1081:71: error: 'shading' was not declared in this scope
PolygonToShading(verts.data(), numPoints, vertColors.data(), 4, shading);
^~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:1081:71: note: suggested alternative: 'stdin'
PolygonToShading(verts.data(), numPoints, vertColors.data(), 4, shading);
^~~~~~~
stdin
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:1086:42: error: 'shading' was not declared in this scope
HPDF_Page_SetShading(this->Impl->Page, shading);
^~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:1086:42: note: suggested alternative: 'stdin'
HPDF_Page_SetShading(this->Impl->Page, shading);
^~~~~~~
stdin
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:1086:3: error: 'HPDF_Page_SetShading' was not declared in this scope
HPDF_Page_SetShading(this->Impl->Page, shading);
^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:1086:3: note: suggested alternative: 'HPDF_Page_SetSize'
HPDF_Page_SetShading(this->Impl->Page, shading);
^~~~~~~~~~~~~~~~~~~~
HPDF_Page_SetSize
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx: At global scope:
/builddir/build/BUILD/ParaView-v5.4.0-RC3/VTK/IO/Export/vtkPDFContextDevice2D.cxx:144:13: warning: 'void {anonymous}::PolyLineToShading(const float*, int, const unsigned char*, int, float, int)' defined but not used [-Wunused-function]
static void PolyLineToShading(const float *points, int numPoints,
^~~~~~~~~~~~~~~~~
make[2]: *** [VTK/IO/Export/CMakeFiles/vtkIOExport.dir/build.make:221: VTK/IO/Export/CMakeFiles/vtkIOExport.dir/vtkPDFContextDevice2D.cxx.o] Error 1
This is against system libharu 2.2.1.