Re: [gdal-dev] GDAL_ENABLE_DRIVER_PDF

2024-03-06 Thread Johannes Paul via gdal-dev
Thanks for your answer Even, lcms2 was indeed a missing piece, it allowed me to get GDAL configured but the build failed with a missing header: *fatal error: core/fpdfapi/page/cpdf_page.h: No such file or directory* I finally used your pre-built binaries from https://github.com/rouault/pdfium_buil

Re: [gdal-dev] GDAL_ENABLE_DRIVER_PDF

2024-03-06 Thread Even Rouault via gdal-dev
Hi, I suspect that the error comes from the fact that one of several of the other dependencies required by pdfium are not found: JPEG, PNG, OpenJPEG, lcms2 Even Le 06/03/2024 à 11:00, Johannes Paul via gdal-dev a écrit : Hello, I have compiled PDFium from https://github.com/rouault/pdfium

[gdal-dev] GDAL_ENABLE_DRIVER_PDF

2024-03-06 Thread Johannes Paul via gdal-dev
Hello, I have compiled PDFium from https://github.com/rouault/pdfium/tree/master and I'm trying to get GDAL 3.8.4 built with this geospatial PDF driver on Almalinux 8. However if I use cmake with the following variables : *-DGDAL_USE_PDFIUM=ON -DGDAL_ENABLE_DRIVER_PDF=ON -DPDFIUM_INCLUDE_DIR="${I