ropensci / qpdf

Split, Combine and Compress PDF files
https://docs.ropensci.org/qpdf
Other
57 stars 10 forks source link

jpeglib.h not found #7

Open muschellij2 opened 5 years ago

muschellij2 commented 5 years ago

You may need a SystemRequirements on jpeglib.h headers

In file included from libqpdf/Pl_DCT.cc:1:0:
include/qpdf/Pl_DCT.hh:27:21: fatal error: jpeglib.h: No such file or directory
 #include <jpeglib.h>
                     ^

As per https://github.com/cburgmer/csscritic/issues/69, you may need libjpeg-dev for compiling, which may need to be checked.

mikmart commented 3 years ago

In case anybody else is struggling with this on Windows: Installing openjpeg2 in the Rtools MSYS2 shell fixed this for me:

pacman -S mingw-w64-{i686,x86_64}-openjpeg2
jmh530 commented 7 months ago

Some better solution would be appreciated. I am on a work computer and can't get past the corporate firewall to install with that method.

muschellij2 commented 7 months ago

Some better solution would be appreciated. I am on a work computer and can't get past the corporate firewall to install with that method.

(Not the maintainer of this package, but one of other multiple packages) That's not necessarily something maintainers program around and the common answer is "ask IT to install it using admin"