Skip to content
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

Building with pdfium warns incompatible pointer type #1837

Closed
jahanford opened this issue Sep 28, 2020 · 2 comments
Closed

Building with pdfium warns incompatible pointer type #1837

jahanford opened this issue Sep 28, 2020 · 2 comments
Labels

Comments

@jahanford
Copy link

jahanford commented Sep 28, 2020

Describe the bug
When building with pdfium in an Amazon Linux 2 docker container the make step warns of incompatible point type for the pdfload functions but still successfully completes build.

To Reproduce
Steps to reproduce the behavior:

  1. Download pdfium binaries from https://github.com/bblanchon/pdfium-binaries
  2. ./configure --with-pdfium-includes=/path/to/pdfium --with-pdfium-libraries=/path/to/lib
  3. make
    (I can provide an example dockerfile if required)

Expected behavior
Build to complete without pointer warnings.

Actual behavior
Warnings printed at make step.

Screenshots
image

Environment

@jahanford jahanford added the bug label Sep 28, 2020
@jcupitt
Copy link
Member

jcupitt commented Sep 28, 2020

Hello @Projkt-James,

Yes, pdfium build has been broken for a while -- libvips has not kept up with changes in pdfium. Some brave person needs to spend an afternoon fixing it.

In the meantime, you need to build against poppler.

@jcupitt
Copy link
Member

jcupitt commented Sep 28, 2020

There's an issue tracking this: #1400

I'll close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants