Xournal++ requires the following software to build:
Open a MSYS2 console (not the CLANGARM64 console) and run the following command twice. Reopen the MSYS2 console each time you run the command.
pacman -SyuuOpen a CLANGARM64 console. (Always check if it says CLANGARM64 - not MSYS2)
All following steps in this document happen in this console, unless specified otherwise.
pacman -S \
mingw-w64-clang-aarch64-toolchain \
mingw-w64-clang-aarch64-cmake \
mingw-w64-clang-aarch64-ninja \
mingw-w64-clang-aarch64-imagemagick \
mingw-w64-clang-aarch64-gettext \
patch \
make \
gitIf prompted, confirm or use all default values.
pacman -S \
mingw-w64-clang-aarch64-poppler \
mingw-w64-clang-aarch64-gtk3 \
mingw-w64-clang-aarch64-libsndfile \
mingw-w64-clang-aarch64-libzip \
mingw-w64-clang-aarch64-lua \
mingw-w64-clang-aarch64-portaudioIf prompted, confirm or use all default values.
See Compile.md
Add C:\msys64\clangarm64\bin and C:\msys64\usr\bin to the top of
your PATH environment variable in the Windows Advanced system
settings (assuming default installation folder for MSYS2).
You can now run Xournal++ with
./xournalpp.exeor package it in an installer (see below).
Create the installer with
./windows-setup/package.shThe installer will be located at windows-setup/xournalpp-setup.exe. This
command will also create a portable version of Xournal++ located in
windows-setup/dist.
