ashutoshvarma / pyxpdf

Fast and memory-efficient Python PDF Parser based on xpdf sources
https://pyxpdf.readthedocs.io/
Other
40 stars 16 forks source link

xpdf 4.04 support #43

Open ReMiOS opened 2 years ago

ReMiOS commented 2 years ago

Is it possible to compile the sources with xpdf 4.04 ( i am using Visual Studio 2022 on Windows ) i've sucessfully compiled libxpdf with xpdf 4.04 sources, but when i compile the pyxpdf sources i get an error.... ( had to alter get_libxpdf.py to use the 4.04 libxpdf sources )

$ setup.py --build-libxpdf build ... src\pyxpdf\xpdf.cpp(836): fatal error C1083: Cannot open include file: 'Form.h': No such file or directory

it appears the Form.h/.cc are missing in the new sources and XFAForm.h/.cc are renamed to XFAScanner.h/.cc