forked from Yoshimi/yoshimi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
86 lines (48 loc) · 3.71 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---- Installing yoshimi ----
Before doing this, check the "Dependencies" file and make sure you have all of the entries in place.
It's a CMake build. For 'quick & dirty' simply cd to the src directory, then
ccmake .
cmake .
make
sudo make install
which builds an executable called yoshimi, installed by default in
/usr/local/bin
If you have a multi-core processor, and know how many cores there are you can speed up compiling by entering
make -j{n}
where {n} is the number of cores.
---- Sample instructions to compile/build using ccmake on Linux, outside-source-tree -----
This uses "yoshimi-1.5.1" as an example, and should work fine with other versions. It is an easy way to build/compile using ccmake, in a separate build directory. This way, changes to source code can be readily compared without combing through the build-related files.
We will assume you have a home directory called 'user' and want Yoshimi to reside in a directory called 'software', but downloaded the archive to /home/user/download.
Working from a terminal window, extract source code archive:
mkdir /home/user/software
cd /home/user/download
tar -jxvf /home/user/download/yoshimi-1.5.1.tar.bz2 -C/home/user/software
Now there should be a directory:
/home/user/software/yoshimi-1.5.1
First move into this with:
cd /home/user/software/yoshimi-1.5.1
Now create a 'build' directory with:
mkdir build
and move into it with:
cd build
"/home/user/software/yoshimi-1.5.1/src" is the source code directory.
"/home/user/software/yoshimi-1.5.1/build" is now the current working directory, and will have make-related files (when ccmake is done with configuring and generates the files).
Run ccmake:
ccmake ../src
Note the two dots!
Within ccmake, type 'c' (without the quotes) to generate a default configuration. Type 'c' again to actually apply the current configuration data (repeat multiple times if needed). If there are any missing pre-requisite libraries and/or softwares (dependencies), it should prompt you with such info. You can install such dependencies and try these ccmake configuration steps again.
When ccmake configuration is complete, there should be a new option displayed: 'g' to generate (the make-related files) and exit.
In other words, if you already have all dependencies in place, then when you run ccmake, just try 'c', then 'c' again, when 'g' appears as a choice, type 'g'. The make-related files are created in the current directory, and ccmake is done. You are now back at the command line.
Next is to compile (build) the application:
make
When compilation is completed successfully, install it (as root) with:
make install
Yoshimi will in fact run anywhere in userspace, which can be convenient as an alternative to installing it - especially when comparing different built versions. In this case banks and presets will remain in the yoshimi directory.
For more fine tuned building see INSTALL_CUSTOM
---- Build and command line options ----
Yoshimi builds with both Jack and Alsa audio and midi options. Jack is the default for both audio and midi. However, if this is not available Yoshimi will try for Alsa. These, and other options can be nominated at runtime via command line parameters, and via the Graphical User Interface and Command Line Interface.
---- Instrument banks ----
Yoshimi installs its own copy of the instrument banks (installed by default in usr/local/share/yoshimi/banks/). On first time startup, it also looks to the standard zynaddsubfx bank directories and includes any that may exist there. You can tune your choice of bank directories via "Instruments" or "Paths".
---- Help ----
If you get stuck, ask for help on LAU or
<http://www.freelists.org/list/yoshimi>.