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
Updated for SC 3.8.0 and Debian Stretch: https://gist.github.com/Sciss/0567b4236a1a9450265b