Audio plugin host https://kx.studio/carla
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.

INSTALL.md 2.5KB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
9 years ago
9 years ago
9 years ago
11 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # INSTALL for Carla
  2. To install Carla, simply run as usual:
  3. ```
  4. $ make
  5. $ [sudo] make install
  6. ```
  7. You can run it without installing, by using instead:
  8. ```
  9. $ make
  10. $ ./source/frontend/carla
  11. ```
  12. Packagers can make use of the `PREFIX` and `DESTDIR` variable during install, like this:
  13. ```
  14. $ make install PREFIX=/usr DESTDIR=./test-dir
  15. ```
  16. ## BUILD DEPENDENCIES
  17. There are no required build dependencies.
  18. But if you want the frontend (which is likely), you will need PyQt5 (python3 version).
  19. You likely will also want:
  20. - libmagic/file (for auto-detection of binary types, needed for plugin-bridges)
  21. - liblo (for OSC support, also a requirement for DSSI UIs)
  22. Optional for extra Linux-only engine features:
  23. - ALSA
  24. - PulseAudio
  25. - X11 (LV2/VST X11 UI support)
  26. Optional for extended LV2 UIs support: (Linux only)
  27. - Gtk2
  28. - Gtk3
  29. - Qt4
  30. - Qt5
  31. Optional for extra samplers support:
  32. - FluidSynth (SF2/3)
  33. Optional for extra LADSPA plugin information:
  34. - python3-rdflib
  35. You can use:
  36. ```
  37. $ make features
  38. ```
  39. To find out which dependencies are missing.
  40. Under Debian based systems, you can use this command to install all dependencies:
  41. ```
  42. sudo apt install python3-pyqt5.qtsvg python3-rdflib pyqt5-dev-tools \
  43. libmagic-dev liblo-dev libasound2-dev libpulse-dev libx11-dev \
  44. libgtk2.0-dev libgtk-3-dev libqt4-dev qtbase5-dev libfluidsynth-dev
  45. ```
  46. Under Fedora, you can use the following command instead:
  47. ```
  48. sudo dnf install python3-qt5-devel python3-rdflib \
  49. file-devel liblo-devel alsa-lib-devel pulseaudio-libs-devel libX11-devel
  50. gtk2-devel gtk3-devel qt4-devel qt5-devel fluidsynth-devel libsndfile-devel
  51. ```
  52. ## BUILD BRIDGES
  53. Carla can make use of plugin bridges to load additional plugin types.
  54. ### 32bit plugins on 64bit systems
  55. Simply run `make posix32` after a regular Carla build, and install or run Carla locally.<br/>
  56. This feature requires a compiler capable of building 32bit binaries.
  57. ### JACK Applications inside Carla
  58. This is built by default on Linux systems.<br/>
  59. Requires LD_PRELOAD support by the OS and the GCC compiler.<br/>
  60. Does not work with clang. (if you discover why, please let me know!)
  61. ### Windows plugins (via Wine)
  62. Requires a mingw compiler, and winegcc.
  63. First, we build the Windows bridges using mingw, like this: (adjust as needed)
  64. ```
  65. make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++
  66. make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
  67. ```
  68. To finalize, we build the wine<->native bridges using winegcc:
  69. ```
  70. make wine32
  71. make wine64
  72. ```