This friendly fork of Volker Boehm's excellent vb.mi-dev objects has the following changes:
-
macOS only
-
Homebrew based dependency management instead of building everything in-source in
libs
Therefore it requires:
brew libsamplerate
-
Defaults to native architecture architectures (no universal binaries by default)
-
Added a Makefile to kick off the cmake build
The original README starts from here:
Several MaxMSP clones of eurorack modules originally created by 'mutable instruments' https://mutable-instruments.net/
Many thanks to Émilie Gillet for making the source code available! https://github.com/pichenettes/eurorack
Please note, this is not a release of 'mutable instruments'!
Volker Böhm, 2019 https://vboehm.net
Compiled versions for macOS can be found here:
https://vboehm.net/downloads (look for vb.mi-objects)
(Mostly copying from https://github.com/Cycling74/max-devkit ReadMe.md)
-
Clone the code from Github, including submodules:
git clone --recurse-submodules https://github.com/v7b1/vb.mi-dev.git
-
change directories (cd) into the project folder:
cd vb.mi-dev
-
cd source/libs/libsamplerate mkdir build && cd build cmake -DLIBSAMPLERATE_EXAMPLES=OFF -DBUILD_TESTING=OFF .. cmake --build . --config 'Release' cd ../../../..
-
create a folder with your various build files and step inside:
mkdir build && cd build
Now you can generate the projects for your chosen build environment.
You can build on the command line using Makefiles, or you can generate an Xcode project and use the GUI to build.
-
Xcode:
cmake -G Xcode .. cmake --build . --config 'Release'
or, instead of the second step, open the Xcode project and use the GUI.
-
Make:
cmake .. cmake --build . --config 'Release'
Note that the Xcode project is preferrable because it is able to substitute values for e.g. the Info.plist files in your builds.
Note: this is untested, but should work something like this:
cmake ..
cmake --build . --config 'Release'