- Install MSYS2 to a short path without spaces.
- Install NSIS to the standard directory.
- Start Mingw-w64 64bit. (Always check if it says MINGW64 - not 32bit and not MSYS2)
This will open a console. All following steps happen in this console.
Do this multiple times, close the Terminal after each update
pacman -Syuupacman -S gitpacman -S mingw-w64-x86_64-toolchain \
mingw-w64-x86_64-cmake \
mingw-w64-x86_64-make \
mingw-w64-x86_64-ninja \
patch \
make \
tar \
mingw-w64-x86_64-cppunit-> press enter multiple times / confirm 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-> press enter multiple times / confirm all default values
git clone https://github.com/xournalpp/xournalpp.git
cd xournalpp/Build/Install portaudio with
windows-setup/build-portaudio.shBuild/Install lua with
windows-setup/build-lua.shmkdir build
cd build/
cmake ..
cmake --build .You can run Xournal++ with
./src/xournalpp.exeor package it in an installer (see below).
Create the installer with
windows-setup/build-setup.shThe installer will be located at windows-setup/xournalpp-setup.exe
