Skip to content

Latest commit

 

History

History
85 lines (64 loc) · 1.5 KB

WindowsBuild.md

File metadata and controls

85 lines (64 loc) · 1.5 KB

Xournal++ Windows Build

Windows Build is working now, but Xournal++ is not yet fully supported on Windows.

See also Linux Build

Pull requests with fixes to the Code and to this manual are welcome! This manual is not yet completed.

Screenshot

Preparation

Install MSYS2 Install NSIS to the standard Folder.

Start Mingw-w64 64bit. (Always Check 64bit not 32bit and not MSYS2)

Update MSYS (do this multiple times, close Terminal after each update)

pacman -Syuu

Install GIT

pacman -S git

Install Build tools

pacman -S mingw-w64-x86_64-cmake \
pacman -S make \
pacman -S mingw-w64-x86_64-toolchain \
pacman -S --needed base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake

(this is a duplicate of the lines above, probably only this line is needed. Can anybody confirm this?) -> press enter multiple times / confirm all default values

pacman -S mingw-w64-x86_64-gcc

Install dependencies

pacman -S mingw-w64-x86_64-poppler \
pacman -S mingw-w64-x86_64-gtk3 \
pacman -S mingw-w64-x86_64-libsndfile

sndfile / PortAudio

Build/Install portaudio with

windows-setup/build-portaudio.sh

Get sources and build

git clone https://github.com/xournalpp/xournalpp.git
cd xournalpp/
mkdir build
cd build/
cmake ..
make

Packaging and Setup

go to the folder

cd windows-setup

and execute

./build-setup.sh