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
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,10 @@ Beyond this repository, the reader is encouraged to look at [sc3-plugins](https:
17
17
18
18
## Compiling
19
19
20
+
Before you can compile any plugin, you will need a copy of the SuperCollider *source code* (NOT the app itself). The source code version should match your SuperCollider app version. Slight differences will probably be tolerated, but if they're too far apart you will get an "API version mismatch" error when you boot the server.
21
+
22
+
You will not need to recompile SuperCollider itself. You only need the source code to get the C++ headers.
23
+
20
24
This is how you build one of the examples in this directory. The examples are kept separate with duplicated code so that you can simply copy out a directory to start your own ugen. **Currently, this build system is missing two things: Windows and supernova. Sorry, we're working on it...**
21
25
22
26
CMake dumps a lot of files into your working directory, so you should always start by creating the `build/` directory:
@@ -25,14 +29,13 @@ CMake dumps a lot of files into your working directory, so you should always sta
25
29
example-plugins/01a-BoringMixer/$ mkdir build
26
30
example-plugins/01a-BoringMixer/$ cd build
27
31
```
28
-
29
32
Next, we run CMake and tell it where the SuperCollider headers are to be found (don't forget the `..`!):
Here, `/path/to/sc3source/` is the path to a directory of the SuperCollider *source code* (NOT the app itself). The source code version should match your SuperCollider app version. Slight differences will probably be tolerated, but if they're too far apart you will get an "API version mismatch" error when you boot the server.
38
+
Here, `/path/to/sc3source/` is the path to the source code. Once again, this is the *source code*, not the app itself.
36
39
37
40
The path should contain a file at `include/plugin_interface/SC_PlugIn.h`. If you get a warning that `SC_PlugIn.h` could not be found, then `SC_PATH` is not set correctly. If no `SC_PATH` is provided, the build system assumes the SuperCollider include files in `/usr/include/SuperCollider/`.
0 commit comments