tizen 2.0 init
[framework/multimedia/gst-plugins-base0.10.git] / docs / libs / html / compiling.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>Compiling</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GStreamer Base Plugins 0.10 Library Reference Manual">
8 <link rel="up" href="gstreamer-plugins-base.html" title="Part I. GStreamer Base Plugins Libraries">
9 <link rel="prev" href="gstreamer-plugins-base.html" title="Part I. GStreamer Base Plugins Libraries">
10 <link rel="next" href="gstreamer-app.html" title="App Library">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
16 <td><a accesskey="p" href="gstreamer-plugins-base.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17 <td><a accesskey="u" href="gstreamer-plugins-base.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
18 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19 <th width="100%" align="center">GStreamer Base Plugins 0.10 Library Reference Manual</th>
20 <td><a accesskey="n" href="gstreamer-app.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
21 </tr></table>
22 <div class="refentry">
23 <a name="compiling"></a><div class="titlepage"></div>
24 <div class="refnamediv"><table width="100%"><tr>
25 <td valign="top">
26 <h2><span class="refentrytitle">Compiling</span></h2>
27 <p>Compiling against the base plugins libraries — 
28 How to compile against the base plugins libraries
29 </p>
30 </td>
31 <td valign="top" align="right"></td>
32 </tr></table></div>
33 <div class="refsect1">
34 <a name="idp7713840"></a><h2>Compiling against the base plugins libraries</h2>
35 <p>
36 To compile against these libraries, you need to tell the compiler where to 
37 find the header files and libraries. This is done with the
38 <span class="application">pkg-config</span> utility.
39 </p>
40 <p>
41 The following interactive shell session demonstrates how
42 <span class="application">pkg-config</span> is used:
43 </p>
44 <pre class="programlisting">
45 $ pkg-config --cflags gstreamer-plugins-base-0.10
46 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
47 $ pkg-config --libs gstreamer-plugins-base-0.10
48 -Wl,--export-dynamic -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0
49 </pre>
50 <p>
51 </p>
52 <p>
53 Note that, because of the number of libraries provided in this package,
54 the pkg-config information <span class="emphasis"><em>does not add -l flags</em></span> itself
55 to choose the libraries to link to.  You must add these yourself to select
56 which of the libraries you want to use.
57 </p>
58 </div>
59 </div>
60 <div class="footer">
61 <hr>
62           Generated by GTK-Doc V1.18</div>
63 </body>
64 </html>