[gdal-dev] fails to build with popler trunk

Even Rouault even.rouault at mines-paris.org
Mon Jan 28 08:22:46 PST 2013


Selon Joaquim Luis <jluis at ualg.pt>:

> 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 *'
>          Types pointed to are unrelated; conversion requires
> reinterpret_cast, C-style cast or function-style cast
> pdfdataset.cpp(2785) : error C3861: 'setErrorFunction': identifier not found

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.

>
> > 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.
> >>
> >>
> > Good to know, thanks Even for your good work.
> >
> > -jeff
> >
> >
> >
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>








More information about the gdal-dev mailing list