pdf2htmlEX icon indicating copy to clipboard operation
pdf2htmlEX copied to clipboard

Poppler compiler option change

Open mpope9 opened this issue 4 years ago • 1 comments

The building wiki is a bit out of date it seems.

The new compiler options for poppler's xpdf are -DENABLE_UNSTABLE_API_ABI_HEADERS=ON, instead of --enable-xpdf-headers.

Not sure which version of poppler made the change, and it isn't in the INSTALL file provided by them. But is found by grepping their cmake options:

> egrep '^ *(option|set.*STRING)' CMakeLists.txt
option(ENABLE_UNSTABLE_API_ABI_HEADERS "Install API/ABI unstable xpdf headers." OFF)
...

mpope9 avatar Oct 06 '19 23:10 mpope9

PR https://github.com/pdf2htmlEX/pdf2htmlEX/pull/39 wraps everything up. I didn't see that docker was recommended first. Maybe it should be directly in the README that docker is the easiest solution.

mpope9 avatar Oct 07 '19 03:10 mpope9