forked from premiere/premiere-libtorrent
added documentation about librt
This commit is contained in:
parent
df2389219a
commit
9d44707ebf
|
@ -174,6 +174,13 @@ will make the executable crash on startup. On Mac OS X, instead build
|
|||
your release executables with the <tt class="docutils literal"><span class="pre">debug-symbols=on</span></tt> option, and
|
||||
later strip your executable with <tt class="docutils literal"><span class="pre">strip</span></tt>.</p>
|
||||
</div>
|
||||
<div class="warning">
|
||||
<p class="first admonition-title">Warning</p>
|
||||
<p class="last">Some linux systems requires linking against <tt class="docutils literal"><span class="pre">librt</span></tt> in order to access
|
||||
the POSIX clock functions. If you get an error complaining about a missing
|
||||
symbol <tt class="docutils literal"><span class="pre">clock_gettime</span></tt>, you have to give <tt class="docutils literal"><span class="pre">need-librt=yes</span></tt> on the
|
||||
bjam command line. This will make libtorrent link against <tt class="docutils literal"><span class="pre">librt</span></tt>.</p>
|
||||
</div>
|
||||
<p>The build targets are put in a directory called bin, and under it they are
|
||||
sorted in directories depending on the toolset and build variant used.</p>
|
||||
<p>To build the examples, just change directory to the examples directory and
|
||||
|
|
|
@ -188,6 +188,13 @@ the runtime, but on windows you can do both. Example::
|
|||
your release executables with the ``debug-symbols=on`` option, and
|
||||
later strip your executable with ``strip``.
|
||||
|
||||
.. warning::
|
||||
|
||||
Some linux systems requires linking against ``librt`` in order to access
|
||||
the POSIX clock functions. If you get an error complaining about a missing
|
||||
symbol ``clock_gettime``, you have to give ``need-librt=yes`` on the
|
||||
bjam command line. This will make libtorrent link against ``librt``.
|
||||
|
||||
The build targets are put in a directory called bin, and under it they are
|
||||
sorted in directories depending on the toolset and build variant used.
|
||||
|
||||
|
|
Loading…
Reference in New Issue