/[svn]/web/trunk/www.linuxsampler.org/faq.html
ViewVC logotype

Diff of /web/trunk/www.linuxsampler.org/faq.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 585 by schoenebeck, Wed May 25 04:39:32 2005 UTC revision 807 by schoenebeck, Mon Nov 21 14:25:10 2005 UTC
# Line 126  Line 126 
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">
# Line 162  Line 167 
167                                  </ol>                                  </ol>
168                          </p>                          </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>
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">
240                                  The procedure of checking out the newest version from CVS is described on the                                  The procedure of checking out the newest version from CVS is described on the

Legend:
Removed from v.585  
changed lines
  Added in v.807

  ViewVC Help
Powered by ViewVC