[gdal-dev] Heads-up re: poppler/pdf on Windows

Joaquim Luis jluis at ualg.pt
Fri May 25 20:03:27 EDT 2012


> 0.18.X and 0.20.X are indeed supported, but 0.19.X not. Odd numbered versionss
> of poppler are developement versions, whereas even ones are considered stables.
> I initially supported 0.19 in the hope of being reading for 0.20 release, but
> there was a API break later in the 0.19 development, and because it is
> sufficiently enough difficult to autodetect the version of poppler, I decided it
> was not worth the effort to go on supporting it and only support 0.20 instead.
>
> (In case someone would want to blame poppler devs, don't. The GDAL PDF driver
> uses an internal low-level API of poppler for its needs, so we are bound to
> adapt to the changes that sometimes happen there)

Et bien,

0.20.0 it is but I had to apply the same trick as for 0.19.0
Rename  DllMain  in GlobalParams.cc, otherwise we get a GDAL linking 
error saying the DllMain symbol was already defined.
I renamed it to DllMain__ and it works, but don't know if later it wont 
cause any troubles.

Joaquim



More information about the gdal-dev mailing list