[gdal-dev] Handling pdfium build / integration
Brad Hards
bradh at frogmouth.net
Fri Sep 18 04:37:59 PDT 2015
On Thu, 17 Sep 2015 11:19:47 AM you wrote:
> Basically if you download
> https://github.com/rouault/pdfium/blob/build/build- lin.sh , run it, it
> will install pdfium to $HOME/pdfium/install
That isn't working out for me. I appear to be getting errors on this part of
the "normal" step:
cd third_party
for lib in `find -name '*.a'`;
do ar -t $lib | xargs ar rvs $lib.new && mv -v $lib.new $lib;
done
It looks like the part just above the part I've quoted picks up the
third_party libs (as well as the main pdfium libs), but then the problem part
(as shown) can't find the .o input files.
ar: creating ./third_party/libbigint.a.new
a - ./third_party/../bigint/third_party/bigint/BigInteger.o
a - ./third_party/../bigint/third_party/bigint/BigIntegerUtils.o
a - ./third_party/../bigint/third_party/bigint/BigUnsigned.o
a - ./third_party/../bigint/third_party/bigint/BigUnsignedInABase.o
‘./third_party/libbigint.a.new’ -> ‘./third_party/libbigint.a’
... (all the other libs processed here) ....
ar: creating ./libbigint.a.new
ar: BigInteger.o: No such file or directory
ar: creating ./libfx_libopenjpeg.a.new
ar: bio.o: No such file or directory
ar: creating ./libfx_libjpeg.a.new
ar: fpdfapi_jcapimin.o: No such file or directory
ar: creating ./libfx_lcms2.a.new
ar: cmscam02.o: No such file or directory
ar: creating ./libfx_zlib.a.new
ar: adler32.o: No such file or directory
ar: creating ./libfreetype.a.new
ar: cff.o: No such file or directory
ar: creating ./libfx_agg.a.new
ar: agg_curves.o: No such file or directory
./configure --with-pdfium=/home/bradh/pdfium/install
I tried to remove that part, and then it looks like its OK, although gdal
complains about CFDF_Document::CreateNewDoc being hidden when I build.
So I guess I'm still doing something wrong.
Brad
More information about the gdal-dev
mailing list