This project hosts pre-compiled binaries of the PDFium library.
See Releases page to download binaries.
Here are the download links for latest release:
| Platform | Release build | Debug build |
|---|---|---|
| Windows 32-bit | pdfium-windows-x86.zip | pdfium-windows-x86-debug.zip |
| Windows 64-bit | pdfium-windows-x64.zip | pdfium-windows-x64-debug.zip |
| Linux | pdfium-linux.zip | pdfium-linux-debug.zip |
| macOS | pdfium-darwin.zip | pdfium-darwin-debug.zip |
-
Unzip one of more variants in a folder (eg
C:\Libraries\pdfium) -
Set the environment variable
PDFium_DIRto this folder (egC:\Libraries\pdfium) -
In your CMakeLists.txt, add
find_package(PDFium) -
Then link you excecutable with PDFium
target_link_libraries(my_exe pdfium) -
On Windows, make sure that
pdfium.dllcan be found by your executable.
This project isn't affilated with Google nor Foxit.