You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Download & install [Git for Windows](https://msysgit.github.io/).
180
-
* Checkout [latest Sonic Pi sources](https://github.com/samaaron/sonic-pi) from GitHub.
181
-
182
-
### Dependencies
183
-
184
-
* Download & Install [Visual Studio 2013 Express for Desktop](http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-desktop)
- Run the setup wizard and install to a known location (e.g. C:\Qt5 or C:\apps\qt5) which we'll call %QT5_HOME%
187
-
- Be sure to install the msvc2013_x86 target
188
-
- More details on Qt installation can be found on [this blog post](http://sonicpidevnotes.blogspot.com/2015/06/installing-qt-5-on-windows-7-for-sonic.html)
189
-
* Download & Install [CMake](http://www.cmake.org/download/), ensuring it is added to your PATH
*[Download](http://rubyinstaller.org/downloads/) & [Install](https://github.com/oneclick/rubyinstaller/wiki/Development-Kit) Ruby Development Kit (did you install it or just unzip it? Please read the install directions)
192
-
* Install [pkg-config-lite](http://sourceforge.net/projects/pkgconfiglite/files/) by copying its files to your devkit install (pkg-config.exe to bin, pkg.m4 to share/aclocal)
193
-
* NB: compile-extensions.rb step is no longer applicable on Windows, because the native bits will get compiled as you install the necessary gems below
194
-
195
-
### Qt GUI
196
-
197
-
* Set up build environment
198
-
- open Visual Studio 2013/Visual Studio Tools/VS2013 x86 Tools Command Prompt
199
-
- add QT to your path: `PATH=%PATH%;C:\Qt5\5.4\msvc2013\bin`
200
-
* Build QScintilla:
201
-
- Download the [QScintilla project](http://www.riverbankcomputing.co.uk/software/qscintilla/download) and unzip it somewhere convenient.
202
-
-`cd Qt4Qt5`
203
-
- generate makefile: `qmake qscintilla.pro`
204
-
-`nmake`
205
-
- copy to QT directory: `nmake install`
206
-
- copy Qt4Qt5\release\moc_qscintilla.cpp and moc_qsciscintillabase.cpp to Sonic Pi's app\gui\qt\platform\win directory (let me know if you figure out why this is only needed on Windows)
207
-
* Run `app\gui\qt\win-build-app.bat` from the directory you checked out Sonic Pi to
208
-
* copy C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x86\Microsoft.VC120.CRT\msvcp120.dll and msvcr120.dll to release\
209
-
*`Sonic-Pi.exe` will be in `release`
210
-
* it expects to be packaged with SC and Ruby in the locations described below.
211
-
212
-
### SuperCollider
213
-
* copy `C:\Program Files (x86)\SuperCollider-3.6.6\scsynth.exe` and `*.dll` and `plugins` into `app\server\native\windows` (but skip the Qt* DLLs)
214
-
- Sonic Pi is actually using a custom build of SC at the moment to avoid firewall drama
215
-
216
-
### Ruby
217
-
* copy `C:\ruby193\*` into `app\server\native\windows`
218
-
- there are some things that can be trimmed, such as docs
219
-
*`cd app\server\native\windows`
220
-
*`bin\gem install did_you_mean`
221
-
*`bin\gem install ffi`
222
-
*`bin\gem install rugged`
223
-
- if this errors out, you may need this patch: https://gist.github.com/jweather/96dd36bf291298bfea5c
0 commit comments