-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation fails on mac due to c++11 not being used #76
Comments
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 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 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:
The text was updated successfully, but these errors were encountered: