You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andrew Belt 31c42dfea3 Call all Module::on*() events from engine thread, remove mutex from 6 years ago
.github Add link to issue templates 6 years ago
dep Add --disable-symbol-hiding to curl build 6 years ago
include Call all Module::on*() events from engine thread, remove mutex from 6 years ago
plugins Add stub to plugins directory 7 years ago
res Add "lock modules" to toolbar 6 years ago
src Call all Module::on*() events from engine thread, remove mutex from 6 years ago
.gitignore Add scratch filesystemListDirectory 6 years ago
.gitmodules Merge ext with dep, add Rack-SDK zip file to dist 6 years ago
CHANGELOG.md Added BINARY macro and build target, remove dep from dependencies of 6 years ago
Info.plist Remove version strings from Info.plist on Mac 7 years ago
LICENSE-dist.txt Update license attributions 6 years ago
LICENSE.txt Relicensed to BSD-3-Clause 7 years ago
Makefile Prefix comments in Makefile targets with @ to disable printing 6 years ago
README.md samplerate and convolver cleanup 6 years ago
Rack.rc Fix Windows build, use portaudio pre-builds, remove curl init/destroy 7 years ago
arch.mk Make arch.mk error more verbose 6 years ago
compile.mk Prefix comments in Makefile targets with @ to disable printing 6 years ago
dep.mk Compute DEP_PATH in dep.mk without checking whether the directory 6 years ago
icon.icns Fix icons 6 years ago
icon.ico Fix icons 6 years ago
installer-banner.bmp Finished Windows installer 7 years ago
installer.nsi Add VSTs to Windows installer, zip distribution 6 years ago
plugin.mk Prefix comments in Makefile targets with @ to disable printing 6 years ago

README.md

Rack

Rack is the engine for the VCV open-source virtual modular synthesizer.

Rack screenshot

This README includes instructions for building Rack from source. For information about the software, go to https://vcvrack.com/.

The Issue Tracker is the official developer's forum

Bug reports, feature requests, and even questions/discussions are welcome on the GitHub Issue Tracker for all VCVRack repos. However, please search before posting to avoid duplicates, and limit to one issue per post.

Please vote on feature requests by using the Thumbs Up/Down reaction on the first post.

I rarely accept code contributions to Rack itself, so please notify me in advance if you wish to send a pull request.

Setting up your development environment

Before building Rack, you must install build dependencies provided by your system's package manager. Rack's own dependencies (GLEW, glfw, etc) do not need to be installed on your system, since specific versions are compiled locally during the build process. However, you need proper tools to build Rack and these dependencies.

Mac

Install Xcode. Using Homebrew, install the build dependencies.

brew install git wget cmake autoconf automake libtool

Windows

Install MSYS2 and launch the MinGW 64-bit shell (not the default MSYS shell).

pacman -S git wget make tar unzip zip mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake autoconf automake mingw-w64-x86_64-libtool

Linux

On Arch Linux:

pacman -S git wget gcc make cmake tar unzip zip curl

On Ubuntu 16.04:

sudo apt install git curl cmake libx11-dev libglu1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev zlib1g-dev libasound2-dev libgtk2.0-dev libjack-jackd2-dev

Building

If the build fails for you, please report the issue with a detailed error message to help the portability of Rack.

Clone this repository with git clone https://github.com/VCVRack/Rack.git and cd Rack. Make sure there are no spaces in your path, as this breaks many build systems.

Clone submodules.

git submodule update --init --recursive

Build dependencies locally. You may use make's -j$(nproc) flag to parallelize builds across all your CPU cores.

make dep

You may use make dep RTAUDIO_ALL_APIS=1 to attempt to build with all audio driver APIs enabled for your operating system, although this is unsupported.

You should see a message that all dependencies built successfully.

Build Rack.

make

Run Rack.

make run

Building plugins

Be sure to check out and build the version of Rack you wish to build your plugins against.

You must clone the plugin in Rack's plugins/ directory, e.g.

cd plugins
git clone https://github.com/VCVRack/Fundamental.git

Clone submodules.

cd Fundamental
git submodule update --init --recursive

Build plugin.

make dep
make

Licenses

All source code in this repository is licensed under BSD-3-Clause by Andrew Belt.

Component Library graphics in res/ComponentLibrary are licensed under CC BY-NC 4.0 by Grayscale. Commercial plugins must request a commercial license to use Component Library graphics by emailing contact@vcvrack.com.

Core panel graphics in res/Core are copyright © 2017 Grayscale. You may not create derivative works of Core panels.

The VCV logo and icon are copyright © 2017 Andrew Belt and may not be used in derivative works.

The “VCV” name is trademarked and may not be used for unofficial products. However, it is acceptable to use the phrase “for VCV Rack” for promotion of your plugin. For all other purposes, email contact@vcvrack.com.