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.

README.md 3.9KB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # Rack
  2. *Rack* is the engine for the VCV open-source virtual modular synthesizer.
  3. ![Rack screenshot](https://vcvrack.com/images/screenshot.png)
  4. This README includes instructions for building Rack from source. For information about the software, go to https://vcvrack.com/.
  5. ## The [Issue Tracker](https://github.com/VCVRack/Rack/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) *is* the official developer's forum
  6. Bug reports, feature requests, and even *questions/discussions* are welcome on the GitHub Issue Tracker for all VCVRack repos.
  7. However, please search before posting to avoid duplicates, and limit to one issue per post.
  8. Please vote on feature requests by using the Thumbs Up/Down reaction on the first post.
  9. I rarely accept code contributions to Rack itself, so please notify me in advance if you wish to send a pull request.
  10. ## Setting up your development environment
  11. Rack's 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 these dependencies.
  12. ### Mac
  13. Install [Xcode](https://developer.apple.com/xcode/).
  14. Install [CMake](https://cmake.org/) (for some of Rack's dependencies).
  15. ### Windows
  16. Install [MSYS2](http://www.msys2.org/) and launch the mingw64 shell (not the default msys2 shell).
  17. Install build dependencies with the pacman package manger.
  18. pacman -S git make tar unzip mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake autoconf automake mingw-w64-x86_64-libtool
  19. ### Linux
  20. With your distro's package manager, make sure you have installed `git`, `gcc`, `make`, `cmake`, `tar`, `unzip`, and `curl`.
  21. ## Building
  22. *If the build fails for you, please report the issue with a detailed error message to help the portability of Rack.*
  23. Clone this repository with `git clone https://github.com/VCVRack/Rack.git` and `cd Rack`.
  24. The `master` branch contains the latest public code and breaks its plugin [API](https://en.wikipedia.org/wiki/Application_programming_interface) and [ABI](https://en.wikipedia.org/wiki/Application_binary_interface) frequently.
  25. If you wish to build a previous version of Rack which is API/ABI-compatible with an official Rack release, check out the desired branch with `git checkout v0.5` for example.
  26. Clone submodules.
  27. git submodule update --init --recursive
  28. Build dependencies locally.
  29. You may use make's `-j$(nproc)` flag to parallelize builds across all your CPU cores.
  30. make dep
  31. 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.
  32. You should see a message that all dependencies built successfully.
  33. Build Rack.
  34. make
  35. Run Rack.
  36. make run
  37. ## Building plugins
  38. Be sure to check out and build the version of Rack you wish to build your plugins against.
  39. You must clone the plugin in Rack's `plugins/` directory, e.g.
  40. cd plugins
  41. git clone https://github.com/VCVRack/Fundamental.git
  42. Clone submodules.
  43. cd Fundamental
  44. git submodule update --init --recursive
  45. Build plugin.
  46. make
  47. ## Licenses
  48. All **source code** in this repository is licensed under [BSD-3-Clause](LICENSE.txt) by [Andrew Belt](https://andrewbelt.name/).
  49. **Component Library graphics** in `res/ComponentLibrary` are licensed under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) by [Grayscale](http://grayscale.info/). Commercial plugins must request a commercial license to use Component Library graphics by emailing contact@vcvrack.com.
  50. **Core** panel graphics in `res/Core` are copyright © 2017 Grayscale. You may not create derivative works of Core panels.
  51. The **VCV logo and icon** are copyright © 2017 Andrew Belt and may not be used in derivative works.
  52. 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.