A SuperCollider UGen for using libmapper
- Install SuperCollider
- Build and install libmapper
- Unzip MapperUGen.zip from releases into SuperCollider extensions folder (Platform.userExtensionDir)
-
Build and install libmapper
-
Note: when cloning supercollider below, if the cloning hangs just execute
git config --global url."https://".insteadOf git://
to fix the issue. It's a known issue with older versions of the supercollider sdk.
git clone https://github.com/libmapper/MapperUGen.git
cd MapperUGen
mkdir build && cd build
cmake -DSUPERNOVA=ON ..
cmake --build . --target install
git clone --recursive https://github.com/libmapper/MapperUGen.git
cd MapperUGen
mkdir build && cd build
cmake -DSUPERNOVA=ON ..
cmake --build . --target install
git clone https://github.com/libmapper/MapperUGen.git
cd MapperUGen
git config --global url."https://".insteadOf git://
git submodule update --init --recursive
Now edit the CMakeLists.txt LIBMAPPER_DIR and LIBLO_DIR paths to match with your local libmapper paths. For libmapper installation help, consult the instructions here. Finally:
mkdir build
cd build
cmake -DSUPERNOVA=ON ..
cmake --build .
- Evaluate
Platform.userExtensionDir
in supercollider and create a "Mapper" folder there - Copy everything inside the ./sc folder to the Mapper folder
- Create a "plugins" folder in the Mapper directory
- Copy the build outputs from ./build/Debug and your libmapper, liblo and zlib .dlls to the plugins folder
- Reboot the supercollider interpreter