-
Get the code and its dependencies
git clone --depth 1 https://github.com/ikuokuo/pdfium-reader.git cd pdfium-reader # get submodules git submodule update --init # get dependencies # mac brew install glfw # debian/ubuntu sudo apt install libglfw3-dev libgtk-3-dev
-
Get prebuilt PDFium libs to
third_party/pdfium-<linux|mac|win>-<x86|x64|arm|arm64>
-
Build the project using CMake >= 3.10
make clean; make
- PDFium: reading, parsing, and rasterizing the pages of PDF files
- ImGui: a bloat-free graphical user interface library for C++
- GLFW: a multi-platform library for OpenGL, OpenGL ES and Vulkan development
- GLM: a header only C++ mathematics library for OpenGL
- stb: single-file public domain libraries for C/C++
- Native File Dialog Extended: cross platform native file dialog library with C and C++ bindings
- pdfium_start: sample in PDFium / Getting Started
- pdf/
- pdf_info: print pdf meta data, page infos
- pdf_render: render pdf pages to png files
The project is BSD 3-Clause licensed.