Re: [gdal-dev] Problems with latest pdfium

2020-07-02 Thread William Kyngesburye
> On Jul 2, 2020, at 1:52 PM, Even Rouault wrote: > >  > William, > >> Back to my question. Does even 3.1 require the old pdfium fork? This >> should be clarified in the GDAL PDF format page. > > Hum, I thought > https://gdal.org/drivers/raster/pdf.html#pdfium was pretty clear about that > >

Re: [gdal-dev] Problems with latest pdfium

2020-07-02 Thread Even Rouault
William, > Back to my question. Does even 3.1 require the old pdfium fork? This > should be clarified in the GDAL PDF format page. Hum, I thought https://gdal.org/drivers/raster/pdf.html#pdfium was pretty clear about that GDAL >= 3.1 ==> use https://github.com/rouault/pdfium_build_gdal_3_1 GDA

Re: [gdal-dev] Problems with latest pdfium

2020-07-02 Thread William Kyngesburye
Back to my question. Does even 3.1 require the old pdfium fork? This should be clarified in the GDAL PDF format page. Is this fork keeping up with any security issues? (my guess is no since last commit is 5 years old.) - William Kyngesburye Don't Panic > On J

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Joaquim Manuel Freire Luís
ped: subcommand failed. From: Joaquim Manuel Freire Luís Sent: Monday, June 29, 2020 3:43 PM To: Joaquim Manuel Freire Luís ; Even Rouault Cc: gdal-dev@lists.osgeo.org; William Kyngesburye Subject: RE: [gdal-dev] Problems with latest pdfium The python error coes from running this command call

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Even Rouault
On lundi 29 juin 2020 09:26:23 CEST William Kyngesburye wrote: > I'm compiling GDAL 3.1, the note says that only needs the patches. It > doesn't specify the source to use. So you need to use https://github.com/rouault/pdfium_build_gdal_3_1 I presume you'll have to start from the Linux build scri

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Joaquim Manuel Freire Luís
l-dev@lists.osgeo.org; William Kyngesburye Subject: Re: [gdal-dev] Problems with latest pdfium Even, I would try it but I'm not being able to build pdfium. I get python errors such running 'vpython.bat pdfium/tools/clang/scripts/update.py' in 'C:\programs\compa_libs\P

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread William Kyngesburye
I'm compiling GDAL 3.1, the note says that only needs the patches. It doesn't specify the source to use. - William Kyngesburye Don't Panic > On Jun 29, 2020, at 4:34 AM, Even Rouault wrote: > >  > William, > >> I'm getting multiple errors trying to compile P

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Joaquim Manuel Freire Luís
ne 29, 2020 1:18 PM To: Joaquim Manuel Freire Luís Cc: gdal-dev@lists.osgeo.org; William Kyngesburye Subject: Re: [gdal-dev] Problems with latest pdfium Joaquim, > I tried to build with your pdfium.lib but got these linking errors. It seems they are due to your GDAL build also linkin

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Even Rouault
Joaquim, > I tried to build with your pdfium.lib but got these linking errors. It seems they are due to your GDAL build also linking against openjp2.lib, and pdfium.lib being linked against its internal copy of openjp2. I don't remember how I tested this. Perhaps this was with a GDAL build with

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Joaquim Manuel Freire Luís
@lists.osgeo.org; William Kyngesburye Subject: Re: [gdal-dev] Problems with latest pdfium William, > I'm getting multiple errors trying to compile PDF support with pdfium. See https://gdal.org/drivers/raster/pdf.html#pdfium You need to build pdfium from the indicated forks.

Re: [gdal-dev] Problems with latest pdfium

2020-06-29 Thread Even Rouault
William, > I'm getting multiple errors trying to compile PDF support with pdfium. See https://gdal.org/drivers/raster/pdf.html#pdfium You need to build pdfium from the indicated forks. Even -- Spatialys - Geospatial professional services http://www.spatialys.com __

[gdal-dev] Problems with latest pdfium

2020-06-28 Thread William Kyngesburye
I'm getting multiple errors trying to compile PDF support with pdfium. pdfdataset.cpp:1557:61: error: reference to type 'const CFX_TextRenderOptions' could not bind to an rvalue of type 'int' color, 0 /* text_flags */);