ropensci / qpdf

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

Error when installing qpdf in Windows 10 #19

Open rventuradiaz opened 2 years ago

rventuradiaz commented 2 years ago

Hello, I got an error when installing either qpdf package from CRAN and Github.

libqpdf/QPDFXRefEntry.o libqpdf/QTC.o libqpdf/QUtil.o libqpdf/RC4.o libqpdf/rijndael.o libqpdf/SecureRandomDataProvider.o libqpdf/sha2.o libqpdf/sha2big.o
C:/rtools40/mingw32/bin/g++ -shared -s -static-libgcc -o qpdf.dll tmp.def RcppExports.o bindings.o -Llibqpdf -lstatqpdf -ljpeg -lz -LC:/PROGRA~1/R/R-40~1.3/bin/i386 -lR
C:/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -ljpeg
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'qpdf'
* removing 'C:/Users/rave1/Documents/R/win-library/4.0/qpdf'

I provide my current system configuration and log showing detailed information. I am afraid I missed adding a library/application in my system. Would you please advise? Attached, you will find my current system configuration and logs of installation trial from Github: qpdf-logs-system-config.txt