[sword-devel] pdf2xml

Matthew Talbert ransom1982 at gmail.com
Wed Nov 18 14:11:31 MST 2009

> gcc -I xpdf -I xpdf/fofi -I xpdf/goo -I xpdf/xpdf -I image/zlib -I
> image/png -I /usr/include pdf2xml.cpp
> But this was obviously wrong. It produced a huge pile of error messages
> suggesting that it did not find all kinds of libpng related stuff. I
> have obviously installed libpoppler-dev and libpng-dev.

you don't need spaces between -l and the library you're linking. So,
eg -limage/png

That may not be the only problem....


More information about the sword-devel mailing list