Unified · Split
| @@ -39,36 +39,35 @@ OR to build a universal binary (intel + apple sillicon): · 38 unmodified lines | |||
| 39 | make mac-ub | 39 | make mac-ub |
| 40 | ``` | 40 | ``` |
| 41 | 41 | ||
| 42 | This should create a `chuck` executable in `chuck/src`. | 42 | This should build a `chuck` executable in `chuck/src`. |
| 43 | 43 | ||
| 44 | ### Linux | 44 | ### Linux |
| 45 | Dependencies: gcc, g++, make, bison, flex, libsndfile, ALSA, PulseAudio (for linux-pulse builds), JACK (for linux-jack builds) | 45 | Dependencies: gcc, g++, make, bison, flex, libsndfile, ALSA (for linux-alsa builds), PulseAudio (for linux-pulse builds), JACK (for linux-jack builds) |
| 46 | 46 | ||
| 47 | To set up a build environment for **chuck** on Debian or Ubuntu: | 47 | To set up a build environment for **chuck** on Debian or Ubuntu: |
| 48 | ``` | 48 | ``` |
| 49 | sudo apt install build-essential bison flex libsndfile1-dev \ | 49 | sudo apt install build-essential bison flex libsndfile1-dev \ |
| 50 | libasound2-dev libpulse-dev libjack-jackd2-dev | 50 | libasound2-dev libpulse-dev libjack-jackd2-dev |
| 51 | ``` | 51 | ``` |
| 52 | For other Linux distributions, the setup should be similar although the package install tools and package names may be slightly different. | 52 | For other Linux distributions, the setup should be similar although the package install tools and package names may be slightly different. (_NOTE: setups that do not need JACK or PulseAudio can omit either or both of these packages. ALSA is needed for MIDI support on Linux._) |
| 53 | 53 | ||
| 54 | 54 | To build **chuck** (with all suppported drivers: ALSA, PulseAudio, JACK), navigate to the `chuck/src` directory and run `make`: | |
| 55 | To build, navigate to the `chuck/src` directory: | ||
| 56 | ``` | 55 | ``` |
| 57 | cd chuck/src | 56 | cd chuck/src |
| 57 | make linux-alsa linux-pulse linux-jack | ||
| 58 | ``` | 58 | ``` |
| 59 | 59 | ||
| 60 | To build chuck with all supported drivers: ALSA, PulseAudio, and JACK: | 60 | To build **chuck** with support for a subset of ALSA, PulseAudio, or JACK, run `make` with the desired driver(s). For example, to build for ALSA and PulseAudio only: |
| 61 | ``` | 61 | ``` |
| 62 | make linux-alsa linux-pulse linux-jack | 62 | make linux-alsa linux-pulse |
| 63 | ``` | 63 | ``` |
| 64 | 64 | ||
| 65 | To build chuck that specifically supports ALSA, PulseAudio, or JACK (or any combination thereof), run `make` with desired driver(s). | 65 | Or, to build for ALSA only: |
| 66 | For example, to build for ALSA/JACK: | ||
| 67 | ``` | 66 | ``` |
| 68 | make linux-alsa linux-jack | 67 | make linux-alsa |
| 69 | ``` | 68 | ``` |
| 70 | 69 | ||
| 71 | This should create a `chuck` executable in `chuck/src`. | 70 | This build process should build a `chuck` executable in `chuck/src`. |
| 72 | 71 | ||
| 73 | ### Windows | 72 | ### Windows |
| 74 | To build chuck using Visual Studio (2019 or later recommended), navigate to `chuck\src\visual-studio`, open `chuck.sln`, and build. | 73 | To build chuck using Visual Studio (2019 or later recommended), navigate to `chuck\src\visual-studio`, open `chuck.sln`, and build. |
| @@ -87,3 +86,6 @@ Non-source code documents (papers, logos, soundbites, comics) have been migrated · 12 unmodified lines | |||
| 87 | 86 | ||
| 88 | ## ChucK Community | 87 | ## ChucK Community |
| 89 | Join us! [ChucK Community Discord](https://discord.gg/ENr3nurrx8) | [ChucK-users Mailing list](https://lists.cs.princeton.edu/mailman/listinfo/chuck-users) | 88 | Join us! [ChucK Community Discord](https://discord.gg/ENr3nurrx8) | [ChucK-users Mailing list](https://lists.cs.princeton.edu/mailman/listinfo/chuck-users) |
| 89 | |||
| 90 | |||
| 91 | _Happy ChucKing!_ | ||