126 |
Here is a collection of frequently asked questions. Please read them before asking on |
Here is a collection of frequently asked questions. Please read them before asking on |
127 |
the mailing list. |
the mailing list. |
128 |
</p> |
</p> |
129 |
|
<h3>Can I use LinuxSampler in commercial hardware or software products? </h3> |
130 |
|
<p class="default"> |
131 |
|
You are NOT ALLOWED to use LinuxSampler source code, libraries or applications in |
132 |
|
COMMERCIAL hardware or software products without prior written authorization by the |
133 |
|
<a href="developers.html">authors</a>. <A HREF="downloads.html">See here</A> |
134 |
|
|
135 |
<h3>linuxsampler? qsampler? libgig? liblscp? hu?</h3> |
<h3>linuxsampler? qsampler? libgig? liblscp? hu?</h3> |
136 |
<p class="default"> |
<p class="default"> |
138 |
qsampler, libgig and liblscp. linuxsampler is the core of the sampler, it includes the |
qsampler, libgig and liblscp. linuxsampler is the core of the sampler, it includes the |
139 |
sampler engines and audio and MIDI drivers. linuxsampler itself is decoupled from any |
sampler engines and audio and MIDI drivers. linuxsampler itself is decoupled from any |
140 |
user interface. It offers a network server (LSCP server) to allow to be controlled by |
user interface. It offers a network server (LSCP server) to allow to be controlled by |
141 |
an arbitrary user frontend from an arbitrary place over a netwrok connection or |
an arbitrary user frontend from an arbitrary place over a network connection or |
142 |
locally from the same machine as well. |
locally from the same machine as well. |
143 |
qsampler is the first GUI frontend written for linuxsampler, it is written with the Qt |
qsampler is the first GUI frontend written for linuxsampler, it is written with the Qt |
144 |
GUI library and thus can be compiled for various architectures and operating systems |
GUI library and thus can be compiled for various architectures and operating systems |
154 |
|
|
155 |
<h3>What do I need to compile and install?</h3> |
<h3>What do I need to compile and install?</h3> |
156 |
<p class="default"> |
<p class="default"> |
157 |
You should compile and install at least linuxsampler. As a beginner you should |
You should compile and install at least libgig and linuxsampler. As a beginner you should |
158 |
defintely as well compile and install qsampler, liblscp and libgig. qsampler is a |
definitely as well compile and install liblscp and qsampler. qsampler is a |
159 |
convenient GUI frontend for linuxsampler. qsampler depends on liblscp, so you have to |
convenient GUI frontend for linuxsampler. qsampler depends on liblscp, so you have to |
160 |
compile and install liblscp before starting to build qsampler. It is recommended to |
compile and install liblscp before starting to build qsampler. The recommended order to |
161 |
install libgig as well, you don't have to actually because libgig is at the moment |
compile and install is: |
162 |
statically included with linuxsampler, but qsampler <b>can</b> use it to retrieve |
<ol class="default"> |
163 |
additional informations from Gigasampler files. |
<li>libgig</li> |
164 |
|
<li>linuxsampler</li> |
165 |
|
<li>liblscp</li> |
166 |
|
<li>qsampler</li> |
167 |
|
</ol> |
168 |
|
</p> |
169 |
|
|
170 |
|
<h3>Compilation of LinuxSampler aborts with ... </h3> |
171 |
|
<p class="default"> |
172 |
|
"<code>can't find a register in class `GENERAL_REGS' while reloading `asm'</code>"<br> |
173 |
|
This is caused by the inline assembly code for SIMD optimization. You currently have to compile LinuxSampler with -O2 or -O3 to avoid this problem. Usually this done by default, if not try: |
174 |
|
</p> |
175 |
|
<table class="default" border="0" cellpadding="1" cellspacing="5"> |
176 |
|
<tr> |
177 |
|
<td><pre class="code">1 |
178 |
|
2</pre> |
179 |
|
</td> |
180 |
|
<td width="100%"> |
181 |
|
<pre class="code">CXXFLAGS="-O3" ./configure |
182 |
|
make</pre> |
183 |
|
</td> |
184 |
|
</tr> |
185 |
|
</table> |
186 |
|
<p class="default"> |
187 |
|
Alternatively you could also disable all hand-crafted assembly optimization code by: |
188 |
|
</p> |
189 |
|
<table class="default" border="0" cellpadding="1" cellspacing="5"> |
190 |
|
<tr> |
191 |
|
<td><pre class="code">1 |
192 |
|
2</pre> |
193 |
|
</td> |
194 |
|
<td width="100%"> |
195 |
|
<pre class="code">./configure --disable-asm |
196 |
|
make</pre> |
197 |
|
</td> |
198 |
|
</tr> |
199 |
|
</table> |
200 |
|
<p class="default"> |
201 |
|
but the latter is definitely not recommended, as it will increase CPU usage a lot! |
202 |
|
</p> |
203 |
|
<p class="default"> |
204 |
|
"<code>../common/Resampler.h:142: error: memory input 2 is not directly addressable</code>"<br> |
205 |
|
This was reported (<a href="http://sourceforge.net/mailarchive/forum.php?thread_id=9018347&forum_id=12792">1</a>, |
206 |
|
<a href="http://sourceforge.net/mailarchive/forum.php?thread_id=9019467&forum_id=12792">2</a>) |
207 |
|
to be a gcc/g++ version problem. Make sure you got gcc and g++, |
208 |
|
both of version 3.3 or higher installed. You can check this with: |
209 |
</p> |
</p> |
210 |
|
<table class="default" border="0" cellpadding="1" cellspacing="5"> |
211 |
|
<tr> |
212 |
|
<td><pre class="code">1 |
213 |
|
2</pre> |
214 |
|
</td> |
215 |
|
<td width="100%"> |
216 |
|
<pre class="code">gcc --version |
217 |
|
g++ --version</pre> |
218 |
|
</td> |
219 |
|
</tr> |
220 |
|
</table> |
221 |
|
<p class="default"> |
222 |
|
In case you already got gcc and g++ of version 3.3 or higher |
223 |
|
installed and it still causes the compilation error mentioned |
224 |
|
above, try the following: |
225 |
|
</p> |
226 |
|
<table class="default" border="0" cellpadding="1" cellspacing="5"> |
227 |
|
<tr> |
228 |
|
<td><pre class="code">1 |
229 |
|
2</pre> |
230 |
|
</td> |
231 |
|
<td width="100%"> |
232 |
|
<pre class="code">export CC=`which gcc` |
233 |
|
export CXX=`which g++`</pre> |
234 |
|
</td> |
235 |
|
</tr> |
236 |
|
</table> |
237 |
|
|
238 |
<h3>How do I checkout from CVS?</h3> |
<h3>How do I checkout from CVS?</h3> |
239 |
<p class="default"> |
<p class="default"> |
244 |
<h3>How do I compile from CVS?</h3> |
<h3>How do I compile from CVS?</h3> |
245 |
<p class="default"> |
<p class="default"> |
246 |
The procedure for compiling from CVS is the same for all subprojects, that is no matter |
The procedure for compiling from CVS is the same for all subprojects, that is no matter |
247 |
if you are compiling linuxsampler, qsampler, libgig or liblscp from CVS, you have to |
if you are compiling linuxsampler, qsampler, libgig or liblscp from CVS, you need to |
248 |
have the autotools (automake, autoconf and libtool) installed and compile it that way: |
have the autotools (automake, autoconf and libtool) installed and compile it that way: |
249 |
</p> |
</p> |
250 |
<table class="default" border="0" cellpadding="1" cellspacing="5"> |
<table class="default" border="0" cellpadding="1" cellspacing="5"> |