File: COMPILE_windows.md

package info (click to toggle)
sonic-visualiser 5.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,744 kB
  • sloc: cpp: 158,888; ansic: 11,920; sh: 1,785; makefile: 517; xml: 64; perl: 31
file content (31 lines) | stat: -rw-r--r-- 1,355 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

# How to compile Sonic Visualiser from source (on Windows)

From Sonic Visualiser v4.3 on, the [Meson](https://mesonbuild.com)
build system is used.

On Windows it is usually easiest to build from a repository clone
rather than from the official Sonic Visualiser source package. This is
because the repository build process will pull in some required
library builds before building, while the source package contains only
Sonic Visualiser code. Therefore, these instructions assume you are
going to do that.

If you are building from a repository clone, be sure to checkout the
appropriate tag if you want to build a specific release. The most
recent code in the repository (on the `default` branch) is not always
as stable as the release tags.

(NOTE: Refer also to the contents of the file `.appveyor.yml` to see
how the continuous-integration process runs a build for Windows)

The build is for 64-bit Windows and uses Visual Studio 2019 tools, but
is run from a command prompt using a shell script.

 * Install the Meson and Ninja build tools (https://mesonbuild.com)
 * Install SML/NJ (https://smlnj.org) for use by Repoint
 * Install Qt open source edition (https://qt.io)
 * Edit the file `deploy\win64\build-64.bat` and adjust the QTDIR setting
   to match the location of your Qt install
 * Run `deploy\win64\build-64.bat` in a command prompt