[gdal-dev] PDF via podofo

Even Rouault even.rouault at mines-paris.org
Tue Jul 12 07:20:41 EDT 2011


Le mardi 12 juillet 2011 12:59:31, Joaquim Luis a écrit :
> Hi,
> 
> I am still having troubles with a build with PDF support. I used to have
> a working solution for my gdalread MEX by using poppler 0.14, however
> now GDAL gives an error when linking with it (something about a member
> that does not exist).

Error at compile time about fillGooString() missing, with a very recent trunk ? 
If so, I've just fixed it when testing compilation on CentOS 6 that ships with 
poppler 0.12.4.

> So I turned again to 0.16 and managed to compile
> everything. But now Matlab just crash when I read a pdf (repeat, before
> it used to work).

Hum I guess you run into cross-heap issues related to different versions of the 
MSVC Runtime...

> Next I tried the podofo (funny name) library. Everything compiles fine
> but a PDF driver does not exit when print the available drivers (and
> obviously, reading pdf does not work).
> I also noted that grepping "PODOFO_ENABLED" for the entire GDAL tree, it
> only shows up once, in nmake.opt.

Yes, there was something missing in frmts/makefile.vc. I think I've just fixed 
it (untested though)

So 'svn update' and retry

> 
> Ah, it's a Windows build that I'm talking about.
> 
> Joaquim Luis
> _______________________________________________
> 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