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.3KB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. ## License
  48. Source code licensed under [BSD-3-Clause](LICENSE.txt) by [Andrew Belt](https://andrewbelt.name/)
  49. Component Library graphics in `res/ComponentLibrary` licensed under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) by [Grayscale](http://grayscale.info/)
  50. VCV logo is © 2017