[Dev] Emailing: 0001-Update-build-instructions-for-windows.patch

Matthieu TALBOT matthieu at talbot.audio
Fri May 15 00:48:48 CEST 2020


Quick and dirty, may do the job for now.

My pleasure working with you, hope we meet again soon in the internet,

Take care,

Matthieu

-------------- next part --------------
From 3681b1fecf9380745a3cf2cae5edd4f0b35b5cdb Mon Sep 17 00:00:00 2001
From: MartyLake <matthieu at talbot.audio>
Date: Thu, 14 May 2020 20:38:09 +0200
Subject: [PATCH 1/1] Update build instructions for windows

---
 doc/dev/windows-build.md | 34 ++++++++++++++++++++++++++++------
 1 file changed, 28 insertions(+), 6 deletions(-)

diff --git a/doc/dev/windows-build.md b/doc/dev/windows-build.md
index 50690ba9..32f31305 100644
--- a/doc/dev/windows-build.md
+++ b/doc/dev/windows-build.md
@@ -8,7 +8,7 @@ For visual studio code terminal integration see [VSCode terminal integration](#v
 In msys install all dependencies using the following command:
 
 ```
-pacman --sync --noconfirm --needed git mingw-w64-x86_64-toolchain mingw-w64-x86_64-gtk3 mingw-w64-x86_64-meson mingw-w64-x86_64-libsamplerate mingw-w64-x86_64-fftw mingw-w64-x86_64-ffmpeg mingw-w64-x86_64-libyaml mingw-w64-x86_64-libsndfile mingw-w64-x86_64-rubberband mingw-w64-x86_64-dlfcn mingw-w64-x86_64-SDL2
+pacman --sync --noconfirm --needed mingw-w64-x86_64-toolchain mingw-w64-x86_64-gtk3 mingw-w64-x86_64-meson mingw-w64-x86_64-libsamplerate mingw-w64-x86_64-fftw mingw-w64-x86_64-ffmpeg mingw-w64-x86_64-libyaml mingw-w64-x86_64-libsndfile mingw-w64-x86_64-rubberband mingw-w64-x86_64-dlfcn mingw-w64-x86_64-SDL2 mingw-w64-x86_64-chromaprint guile libguile-devel mingw-w64-x86_64-gtksourceview3 mingw-w64-x86_64-graphviz
 ```
 
 Let it run until all packages are done installing.
@@ -21,23 +21,45 @@ cd && mkdir git && cd git
 git clone https://git.zrythm.org/git/zrythm && cd zrythm
 ```
 
+### Clone dependencies
+Some dependencies are not yet pulled by meson.
+
+#### Carla
+
+Carla (source code at: https://github.com/falkTX/Carla ) needs two zip:
+* https://www.zrythm.org/downloads/carla/carla-64-b082b8b.zip that needs to be extracted in the mysys dir (`start /mingw64/lib` to locate the lib file for example)
+* https://www.zrythm.org/downloads/carla/carla-2.1-woe32.zip that needs to be extracted into `/mingw64/lib/carla/`
+
+#### Breeze-icons
+
+* download zip from https://github.com/KDE/breeze-icons/tree/master/icons-dark
+* Extract sub folder `icons-dark` in `/mingw64/share/icons`
+* `mv /mingw64/share/icons/icons-dark /mingw64/share/icons/breeze-dark`
+
+
 ### Build
 Setup project files with meson
 ```
-meson build -Denable_plugins=false -Denable_sdl=true
+meson build -Dsdl=enabled -Drtaudio=auto -Drtmidi=auto -Dcarla=auto
 ```
 
 Compile and finalize
 ```
-ninja -C build
 ninja -C build install
 ```
 
 ### Run
-The working directory must be the root of the zrythm repository, from there in msys run zrythm with:
+The working directory must be the install bin, in the msys root directory:
+```
+/mingw64/bin/zrythm.exe
 ```
-/build/src/zrythm
+You can locate this exe by executing:
 ```
+start /mingw64/bin
+```
+
+Copy whichever dll are missing next to the executable.
+CarlaNativePlugin.dll can be found in the official ZRythm Trial version bin folder.
 
 ### Debugging ( VSCode )
 visual studio code:
@@ -81,7 +103,7 @@ To open the terminal hit `ctrl`+`` ` ``
 
 ----
 
-Copyright (C) 2020 Sidar Talei
+Copyright (C) 2020 Sidar Talei, Matthieu Talbot
 
 Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright
-- 
2.26.2.windows.1



More information about the Dev mailing list