[ 31%] Building CXX object IO/ExportPDF/CMakeFiles/IOExportPDF.dir/vtkPDFContextDevice2D.cxx.o
/build/vtk/src/VTK-9.1.0/IO/ExportPDF/vtkPDFContextDevice2D.cxx: In member function ‘void vtkPDFContextDevice2D::ApplyLineType(int)’:
/build/vtk/src/VTK-9.1.0/IO/ExportPDF/vtkPDFContextDevice2D.cxx:1657:43: error: cannot convert ‘const HPDF_UINT16*’ {aka ‘const short unsigned int*’} to ‘const HPDF_REAL*’ {aka ‘const float*’}
1657 | HPDF_Page_SetDash(this->Impl->Page, noPen, noPenLen, 0);
| ^~~~~
| |
| const HPDF_UINT16* {aka const short unsigned int*}
In file included from /build/vtk/src/build/ThirdParty/libharu/vtk_libharu.h:24,
from /build/vtk/src/VTK-9.1.0/IO/ExportPDF/vtkPDFContextDevice2D.cxx:47:
/usr/include/hpdf.h:1192:39: note: initializing argument 2 of ‘HPDF_STATUS HPDF_Page_SetDash(HPDF_Page, const HPDF_REAL*, HPDF_UINT, HPDF_REAL)’
1192 | const HPDF_REAL *dash_ptn,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
/build/vtk/src/VTK-9.1.0/IO/ExportPDF/vtkPDFContextDevice2D.cxx:1665:43: error: cannot convert ‘const HPDF_UINT16*’ {aka ‘const short unsigned int*’} to ‘const HPDF_REAL*’ {aka ‘const float*’}
1665 | HPDF_Page_SetDash(this->Impl->Page, dash, dashLen, 0);
| ^~~~
| |
| const HPDF_UINT16* {aka const short unsigned int*}
/usr/include/hpdf.h:1192:39: note: initializing argument 2 of ‘HPDF_STATUS HPDF_Page_SetDash(HPDF_Page, const HPDF_REAL*, HPDF_UINT, HPDF_REAL)’
1192 | const HPDF_REAL *dash_ptn,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
/build/vtk/src/VTK-9.1.0/IO/ExportPDF/vtkPDFContextDevice2D.cxx:1669:43: error: cannot convert ‘const HPDF_UINT16*’ {aka ‘const short unsigned int*’} to ‘const HPDF_REAL*’ {aka ‘const float*’}
1669 | HPDF_Page_SetDash(this->Impl->Page, dot, dotLen, 0);
| ^~~
| |
| const HPDF_UINT16* {aka const short unsigned int*}
/usr/include/hpdf.h:1192:39: note: initializing argument 2 of ‘HPDF_STATUS HPDF_Page_SetDash(HPDF_Page, const HPDF_REAL*, HPDF_UINT, HPDF_REAL)’
1192 | const HPDF_REAL *dash_ptn,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
/build/vtk/src/VTK-9.1.0/IO/ExportPDF/vtkPDFContextDevice2D.cxx:1673:43: error: cannot convert ‘const HPDF_UINT16*’ {aka ‘const short unsigned int*’} to ‘const HPDF_REAL*’ {aka ‘const float*’}
1673 | HPDF_Page_SetDash(this->Impl->Page, dashDot, dashDotLen, 0);
| ^~~~~~~
| |
| const HPDF_UINT16* {aka const short unsigned int*}
/usr/include/hpdf.h:1192:39: note: initializing argument 2 of ‘HPDF_STATUS HPDF_Page_SetDash(HPDF_Page, const HPDF_REAL*, HPDF_UINT, HPDF_REAL)’
1192 | const HPDF_REAL *dash_ptn,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
/build/vtk/src/VTK-9.1.0/IO/ExportPDF/vtkPDFContextDevice2D.cxx:1677:43: error: cannot convert ‘const HPDF_UINT16*’ {aka ‘const short unsigned int*’} to ‘const HPDF_REAL*’ {aka ‘const float*’}
1677 | HPDF_Page_SetDash(this->Impl->Page, dashDotDot, dashDotDotLen, 0);
| ^~~~~~~~~~
| |
| const HPDF_UINT16* {aka const short unsigned int*}
/usr/include/hpdf.h:1192:39: note: initializing argument 2 of ‘HPDF_STATUS HPDF_Page_SetDash(HPDF_Page, const HPDF_REAL*, HPDF_UINT, HPDF_REAL)’
1192 | const HPDF_REAL *dash_ptn,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
/build/vtk/src/VTK-9.1.0/IO/ExportPDF/vtkPDFContextDevice2D.cxx:1681:43: error: cannot convert ‘const HPDF_UINT16*’ {aka ‘const short unsigned int*’} to ‘const HPDF_REAL*’ {aka ‘const float*’}
1681 | HPDF_Page_SetDash(this->Impl->Page, denseDot, dotLen, 0);
| ^~~~~~~~
| |
| const HPDF_UINT16* {aka const short unsigned int*}
/usr/include/hpdf.h:1192:39: note: initializing argument 2 of ‘HPDF_STATUS HPDF_Page_SetDash(HPDF_Page, const HPDF_REAL*, HPDF_UINT, HPDF_REAL)’
1192 | const HPDF_REAL *dash_ptn,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
make[2]: *** [IO/ExportPDF/CMakeFiles/IOExportPDF.dir/build.make:90: IO/ExportPDF/CMakeFiles/IOExportPDF.dir/vtkPDFContextDevice2D.cxx.o] Error 1
make[2]: Leaving directory '/build/vtk/src/build'
make[1]: *** [CMakeFiles/Makefile2:24995: IO/ExportPDF/CMakeFiles/IOExportPDF.dir/all] Error 2
make[1]: Leaving directory '/build/vtk/src/build'
make: *** [Makefile:136: all] Error 2