1
1
# Building the Latest Sonic Pi on Windows
2
2
3
3
Hello there lovely Windows user - welcome to our build
4
- instructions.
4
+ instructions.
5
5
6
6
7
7
### Installing vs Building
@@ -41,10 +41,10 @@ In order to build Sonic Pi's various components, we need to install a few
41
41
dependencies:
42
42
43
43
1 . Visual Studio 2022
44
- 2 . Qt (6.2 +)
45
- 3 . CMake (3.18 +)
46
- 4 . Ruby (3.1 .0+)
47
- 5 . Elixir (1.14 +)
44
+ 2 . Qt (6.7 +)
45
+ 3 . CMake (3.29 +)
46
+ 4 . Ruby (3.3 .0+)
47
+ 5 . Elixir (1.16 +)
48
48
49
49
Let's look at each in turn.
50
50
@@ -64,9 +64,9 @@ Note that you need to enable the "Desktop development with C++" workload. See: h
64
64
Install the latest version of Qt6 (note that Qt5 may work on Windows but isn't supported) - ensure
65
65
you pick 64 bit options for msvc:
66
66
67
- https://download.qt.io/official_releases/qt/6.4 /6.4.1 /single/qt-everywhere-src-6.4.1 .zip
67
+ https://download.qt.io/official_releases/qt/6.7 /6.7.0 /single/qt-everywhere-src-6.7.0 .zip
68
68
69
- When selecting Qt components you need:
69
+ When selecting Qt components you need:
70
70
71
71
* MSVC 2019 64-bit
72
72
* Additional Libraries
@@ -90,10 +90,10 @@ Alternatively, the `setx` command can make global variables. (Note that
90
90
after using ` setx ` the command line needs to be restarted for it to take
91
91
effect).
92
92
93
- For example, if you installed Qt to ` C:\Qt\Qt6.4.1 ` then you could run:
93
+ For example, if you installed Qt to ` C:\Qt\Qt6.7.0 ` then you could run:
94
94
95
95
```
96
- setx QT_INSTALL_LOCATION C:\Qt\6.4.1 \msvc2019_64
96
+ setx QT_INSTALL_LOCATION C:\Qt\6.7.0 \msvc2019_64
97
97
```
98
98
99
99
(followed by restarting your command prompt)
@@ -113,9 +113,9 @@ Ruby is needed both for a number of the build steps and as the main
113
113
runtime for the language server. We need to install both it and some
114
114
additional libraries.
115
115
116
- Firstly, install the latest version of Ruby (3.1.3 - 64 bit with devkit) from:
116
+ Firstly, install the latest version of Ruby (3.3.0 - 64 bit with devkit) from:
117
117
118
- https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.1.3 -1/rubyinstaller-devkit-3.1.3 -1-x64.exe
118
+ https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.3.0 -1/rubyinstaller-3.3.0 -1-x64.exe
119
119
120
120
121
121
Once you have installed Ruby, you need to grab some additional
@@ -140,7 +140,7 @@ https://elixir-lang.org/install.html#windows
140
140
## 2. Preparing the Build
141
141
142
142
Once we have installed all the dependencies, we're now ready to build
143
- Sonic Pi. We need to:
143
+ Sonic Pi. We need to:
144
144
145
145
1 . Get a copy of Sonic Pi's source code
146
146
2 . Link the version of Ruby you installed into the source code.
@@ -153,15 +153,15 @@ code. The easiest way of getting this is likely to be cloning from GitHub
153
153
into a folder on your hard drive such as ` C:\dev\sonic-pi ` :
154
154
155
155
```
156
- git clone https://github.com/sonic-pi-net/sonic-pi.git C:\dev\sonic-pi
157
- ```
156
+ zgit clone https://github.com/sonic-pi-net/sonic-pi.git C:\dev\sonic-pi
157
+ ```
158
158
159
159
If you don't have Git installed you should be able to download a ` .zip `
160
160
file of the latest commit or specific release you'd like to build:
161
161
162
162
https://github.com/sonic-pi-net/sonic-pi/archive/main.zip
163
163
164
- From now on these instructions will assume you downloaded the source
164
+ From now on these instructions will assume you downloaded the source
165
165
into ` C:\dev\sonic-pi ` . If you used a different location be sure to
166
166
change any future references to ` C:\dev\sonic-pi ` to your chosen location.
167
167
@@ -171,17 +171,17 @@ change any future references to `C:\dev\sonic-pi` to your chosen location.
171
171
Next, we need to point your build of Sonic Pi to your local Ruby
172
172
installation. We can do this by creating a folder link - similar to a
173
173
symbolic link on Linux and macOS. First, find out where you installed
174
- Ruby. For example, this might be ` C:\Ruby31 -x64 ` .
174
+ Ruby. For example, this might be ` C:\Ruby33 -x64 ` .
175
175
176
176
Finally, open a console as administrator (this is necessary for making the
177
177
link). Then ` cd ` into the ` sonic-pi\app\server\native ` directory within
178
178
your copy of Sonic Pi's source. For example, if you put Sonic Pi within
179
- ` C:\dev ` and installed Ruby to ` C:\Ruby31 -x64 ` then you'd do the
179
+ ` C:\dev ` and installed Ruby to ` C:\Ruby33 -x64 ` then you'd do the
180
180
following:
181
181
182
182
```
183
183
cd C:\dev\sonic-pi\app\server\native
184
- mklink /d ruby C:\Ruby31 -x64
184
+ mklink /d ruby C:\Ruby33 -x64
185
185
```
186
186
187
187
0 commit comments