Re: [gdal-dev] Build GDAL PDF Driver with PDFium

2025-01-14 Thread Parveen Sharma via gdal-dev
c_t<_Alty, _Container_proxy>' (aka 'InternalAllocator') 611 | _Mypair._Myval2._Alloc_proxy(_GET_PROXY_ALLOCATOR(_Alty, _Getal())); | ^~~~~ ../../../../../../Program Files/Microsoft Visual Studi

Re: [gdal-dev] Build GDAL PDF Driver with PDFium

2025-01-13 Thread Even Rouault via gdal-dev
Le 14/01/2025 à 01:23, Parveen Sharma a écrit : Thanks Even As i am building GDAL 3.9.3, so i will use the scripts in the https://github.com/rouault/pdfium_build_gdal_3_9  repository to build a patched version of PDFium. Would you recommend

Re: [gdal-dev] Build GDAL PDF Driver with PDFium

2025-01-13 Thread Parveen Sharma via gdal-dev
d to build GDAL with PDF Dynamic driver in both Windows and Linux. Best regards, Parveen From: Even Rouault Sent: Tuesday, January 14, 2025 8:03 AM To: Parveen Sharma ; David Klaus Cc: Michał Kowalczuk via gdal-dev Subject: Re: [gdal-dev] Build GDAL PDF Driver

Re: [gdal-dev] Build GDAL PDF Driver with PDFium

2025-01-13 Thread Even Rouault via gdal-dev
Le 14/01/2025 à 00:26, Parveen Sharma via gdal-dev a écrit : Thanks What about the PDFium git repo which I mentioned? Do I need to build PDFium using that git repo only? yes, as documented in https://gdal.org/en/stable/drivers/raster/pdf.html#pdfium. There are multiple patches needed on to

Re: [gdal-dev] Build GDAL PDF Driver with PDFium

2025-01-13 Thread David Klaus via gdal-dev
t repo which I mentioned? Do I need to build > PDFium using that git repo only? > > -- > *From:* David Klaus > *Sent:* Monday, January 13, 2025 11:34 PM > *To:* Parveen Sharma > *Cc:* Michał Kowalczuk via gdal-dev > *Subject:* Re: [gdal-dev] Build G

Re: [gdal-dev] Build GDAL PDF Driver with PDFium

2025-01-13 Thread Parveen Sharma via gdal-dev
Thanks What about the PDFium git repo which I mentioned? Do I need to build PDFium using that git repo only? From: David Klaus Sent: Monday, January 13, 2025 11:34 PM To: Parveen Sharma Cc: Michał Kowalczuk via gdal-dev Subject: Re: [gdal-dev] Build GDAL PDF

Re: [gdal-dev] Build GDAL PDF Driver with PDFium

2025-01-13 Thread David Klaus via gdal-dev
Parveen, A couple of years ago my company used the following options to generate a GDAL PDF dynamic driver for GDAL 3.7.0: -DGDAL_ENABLE_DRIVER_PDF_PLUGIN=ON -DGDAL_USE_PDFIUM=ON -DPDFIUM_INCLUDE_DIR="%~dp0ExtractPDFium\install\include\pdfium" -DPDFIUM_LIBRARY="%~dp0ExtractPDFium\install\lib\pdfi