This guide will show how to build and run this project on Windows system using MSYS2
- Download and install MSYS2
- Navigate to
C:\msys64
and openmingw64.exe
- Update packages
pacman -Syyu
- Install compilers and libraries
pacman -S mingw-w64-x86_64-gcc \
mingw-w64-x86_64-vala \
mingw-w64-x86_64-blueprint-compiler \
mingw-w64-x86_64-meson \
mingw-w64-x86_64-nsis \
mingw-w64-x86_64-gtk4 \
mingw-w64-x86_64-libadwaita
- Install git
pacman -S git
- Clone the repo
git clone https://github.com/SpikedPaladin/ValaGtkTemplate
- Navigate to cloned folder and build application
cd ValaGtkTemplate
meson setup build
meson compile win-installer -C build
- Installer located in
C:\msys64\home\%USERNAME%\ValaGtkTemplate\build\Example Setup.exe
- Also you can run
example.exe
located inC:\msys64\home\%USERNAME%\ValaGtkTemplate\build\dist\bin