Re: [gdal-dev] fails to build with popler trunk

2013-01-28 Thread Joaquim Luis
Did you define POPPLER_0_20_OR_LATER=YES and POPPLER_BASE_STREAM_HAS_TWO_ARGS = YES and POPPLER_HAS_OPTCONTENT = YES ? I admit that the config process is a bit painfull and stupid. Hm, I thought the POPPLER_0_23_OR_LATER=YES would deprecate the POPPLER_0_20_OR_LATER=YES so had this last one

Re: [gdal-dev] fails to build with popler trunk

2013-01-28 Thread Joaquim Luis
On 28-01-2013 16:22, Even Rouault wrote: Selon Joaquim Luis: Thanks Even I have a fresh gdal but since I use a nmake.local file, I hadn't noticed the new POPPLER_0_23_OR_LATER=YES Unfortunately, with it declared I still get one error: pdfdataset.cpp(1036) : error C2664: 'SplashOutputDev::star

Re: [gdal-dev] fails to build with popler trunk

2013-01-28 Thread Even Rouault
Selon Joaquim Luis : > Thanks Even > > I have a fresh gdal but since I use a nmake.local file, I hadn't noticed > the new POPPLER_0_23_OR_LATER=YES > Unfortunately, with it declared I still get one error: > > pdfdataset.cpp(1036) : error C2664: 'SplashOutputDev::startDoc' : cannot > convert parame

Re: [gdal-dev] fails to build with popler trunk

2013-01-28 Thread Joaquim Luis
Thanks Even I have a fresh gdal but since I use a nmake.local file, I hadn't noticed the new POPPLER_0_23_OR_LATER=YES Unfortunately, with it declared I still get one error: pdfdataset.cpp(1036) : error C2664: 'SplashOutputDev::startDoc' : cannot convert parameter 1 from 'XRef *' to 'PDFDoc *

Re: [gdal-dev] fails to build with popler trunk

2013-01-28 Thread Jeff McKenna
On 13-01-28 11:47 AM, Even Rouault wrote: > > As documented in nmake.opt, adding POPPLER_0_23_OR_LATER=YES in nmake.local > should fix it. Upgrade both your GDAL trunk and poppler git to the latest > versions. Support for the latest poppler git is in the very last revisions of > GDAL trunk. > >

Re: [gdal-dev] fails to build with popler trunk

2013-01-28 Thread Even Rouault
Selon Joaquim Luis : > Hi, > > FYI > I tried to build (on Windows) with poppler trunk but got the errors > below, so had to go back to my working 0.20.0 version. > > If wished, I can open a ticket on this issue. As documented in nmake.opt, adding POPPLER_0_23_OR_LATER=YES in nmake.local should fi

[gdal-dev] fails to build with popler trunk

2013-01-28 Thread Joaquim Luis
Hi, FYI I tried to build (on Windows) with poppler trunk but got the errors below, so had to go back to my working 0.20.0 version. If wished, I can open a ticket on this issue. Joaquim c:\programs\gdaltrunk\gdal\frmts\pdf\pdfio.h(112) : error C2555: 'VSIPDFFileStream::getPos': overriding v