Skip to content

Instantly share code, notes, and snippets.

@Sciss
Last active March 23, 2017 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sciss/02af79296b35f1e7536f to your computer and use it in GitHub Desktop.
Save Sciss/02af79296b35f1e7536f to your computer and use it in GitHub Desktop.
Steps needed for me to compile sc3 plugins on Debian Jessie

We need a C++ compiler

sudo apt-get install build-essential

If not installed, we also need CMake

sudo apt-get install cmake

We need SC headers

sudo apt-get install supercollider-dev

We clone the repo

git clone git@github.com:Sciss/sc3-plugins.git
cd sc3-plugins
git remote add upstream https://github.com/supercollider/sc3-plugins.git

We update submodule

git submodule init && git submodule update

We have to remove one plugin that doesn't compile

rm -r source/JoshUGens/

Remove reference to JoshUGen here:

vi source/CMakeLists.txt

If there is a CMake error related to FFTW3, also remove NCAnalysisUGens (directory and lists.txt - note there is a whole block about it in CMakeLists.txt, just remove the lot).

We make and cd into build dir

mkdir build
cd build

Despite claims in README, we need to specify SC header path. Also make sure we use prefix /usr/ instead of the default /usr/local/ so the existing scsynth installation finds the plugins and class files:

cmake -DSC_PATH=/usr/include/SuperCollider/ -DCMAKE_INSTALL_PREFIX=/usr ..

Then make

make

Then install

sudo make install
@Sciss
Copy link
Author

Sciss commented Mar 23, 2017

Updated for SC 3.8.0 and Debian Stretch: https://gist.github.com/Sciss/0567b4236a1a9450265b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment