Skip to content

Commit acbcc55

Browse files
committed
Docs - update windows build to reflect latest releases
1 parent 18993d4 commit acbcc55

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

BUILD-WINDOWS.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Building the Latest Sonic Pi on Windows
22

33
Hello there lovely Windows user - welcome to our build
4-
instructions.
4+
instructions.
55

66

77
### Installing vs Building
@@ -41,10 +41,10 @@ In order to build Sonic Pi's various components, we need to install a few
4141
dependencies:
4242

4343
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+)
4848

4949
Let's look at each in turn.
5050

@@ -64,9 +64,9 @@ Note that you need to enable the "Desktop development with C++" workload. See: h
6464
Install the latest version of Qt6 (note that Qt5 may work on Windows but isn't supported) - ensure
6565
you pick 64 bit options for msvc:
6666

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
6868

69-
When selecting Qt components you need:
69+
When selecting Qt components you need:
7070

7171
* MSVC 2019 64-bit
7272
* Additional Libraries
@@ -90,10 +90,10 @@ Alternatively, the `setx` command can make global variables. (Note that
9090
after using `setx` the command line needs to be restarted for it to take
9191
effect).
9292

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:
9494

9595
```
96-
setx QT_INSTALL_LOCATION C:\Qt\6.4.1\msvc2019_64
96+
setx QT_INSTALL_LOCATION C:\Qt\6.7.0\msvc2019_64
9797
```
9898

9999
(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
113113
runtime for the language server. We need to install both it and some
114114
additional libraries.
115115

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:
117117

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
119119

120120

121121
Once you have installed Ruby, you need to grab some additional
@@ -140,7 +140,7 @@ https://elixir-lang.org/install.html#windows
140140
## 2. Preparing the Build
141141

142142
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:
144144

145145
1. Get a copy of Sonic Pi's source code
146146
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
153153
into a folder on your hard drive such as `C:\dev\sonic-pi`:
154154

155155
```
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+
```
158158

159159
If you don't have Git installed you should be able to download a `.zip`
160160
file of the latest commit or specific release you'd like to build:
161161

162162
https://github.com/sonic-pi-net/sonic-pi/archive/main.zip
163163

164-
From now on these instructions will assume you downloaded the source
164+
From now on these instructions will assume you downloaded the source
165165
into `C:\dev\sonic-pi`. If you used a different location be sure to
166166
change any future references to `C:\dev\sonic-pi` to your chosen location.
167167

@@ -171,17 +171,17 @@ change any future references to `C:\dev\sonic-pi` to your chosen location.
171171
Next, we need to point your build of Sonic Pi to your local Ruby
172172
installation. We can do this by creating a folder link - similar to a
173173
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`.
175175

176176
Finally, open a console as administrator (this is necessary for making the
177177
link). Then `cd` into the `sonic-pi\app\server\native` directory within
178178
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
180180
following:
181181

182182
```
183183
cd C:\dev\sonic-pi\app\server\native
184-
mklink /d ruby C:\Ruby31-x64
184+
mklink /d ruby C:\Ruby33-x64
185185
```
186186

187187

0 commit comments

Comments
 (0)