Closed bzamecnik closed 1 year ago
Thank you for reporting. If you are familiar with Github Actions, it could be great to add a pipeline for building and testing python-poppler on mac os. It could even be used to publish prebuild binaries on PyPI. Do not hesitate to open a PR for that!
@cbrunet Thanks for a tip. I was not aware that the GitHub CI runners already support MacOS. It could potentially reduce the need to install meson and some other libs. But once they're installed compilation from a wheel is very fast (10s on M1).
It could potentially reduce the need to install meson and some other libs. But once they're installed compilation from a wheel is very fast (10s on M1).
It is more a matter of how easy it is to install the latest version of poppler-cpp? Distributing wheels would allow to distribute a working poppler-cpp together.
It's a matter of brew install poppler
. Very easy.
Wheels would be bound to a given poppler version, which may not be the latest. Poppler gets released every month.
It fails like in https://stackoverflow.com/questions/45047508/error-unknown-type-name-constexpr-during-make-in-mac-os-x:
To fix it add
default_options : ['c_std=c11', 'cpp_std=c++11']
toproject()
inmeson.build
:Then installation works: