Xournal++ requires the following software to build:
Open a MSYS2 console (not the MINGW64 console) and run the following command twice. Reopen the MSYS2 console each time you run the command.
pacman -SyuuOpen a MINGW64 console (Always check if it says MINGW64 - not 32bit and not MSYS2)
All following steps in this document happen in this console, unless specified otherwise.
pacman -S \
mingw-w64-x86_64-toolchain \
mingw-w64-x86_64-cmake \
mingw-w64-x86_64-ninja \
mingw-w64-x86_64-imagemagick \
mingw-w64-x86_64-gettext \
patch \
make \
gitIf prompted, confirm or use all default values.
pacman -S \
mingw-w64-x86_64-poppler \
mingw-w64-x86_64-gtk3 \
mingw-w64-x86_64-libsndfile \
mingw-w64-x86_64-libzip \
mingw-w64-x86_64-lua \
mingw-w64-x86_64-portaudio \
mingw-w64-x86_64-gtksourceview4 \
mingw-w64-x86_64-qpdfIf prompted, confirm or use all default values.
See Compile.md
Create the installer with
./windows-setup/package.sh build/The installer will be located at build/xournalpp-setup.exe. This
command will also create a portable version of Xournal++ located in
build/dist.
