Blame docs/libs/html/compiling.html

Packit 971217
Packit 971217
<html>
Packit 971217
<head>
Packit 971217
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Packit 971217
<title>Compiling: GStreamer Base Plugins 1.0 Library Reference Manual</title>
Packit 971217
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
Packit 971217
<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
Packit 971217
<link rel="up" href="gstreamer-plugins-base.html" title="Part I. GStreamer Base Plugins Libraries">
Packit 971217
<link rel="prev" href="gstreamer-plugins-base.html" title="Part I. GStreamer Base Plugins Libraries">
Packit 971217
<link rel="next" href="gstreamer-allocators.html" title="Allocators Library">
Packit 971217
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
Packit 971217
<link rel="stylesheet" href="style.css" type="text/css">
Packit 971217
</head>
Packit 971217
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit 971217
Packit 971217
Packit 971217
Home
Packit 971217
Up
Packit 971217
Prev
Packit 971217
Next
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

Compiling

Packit 971217

Compiling against the base plugins libraries —

Packit 971217
How to compile against the base plugins libraries
Packit 971217

Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

Compiling against the base plugins libraries

Packit 971217

Packit 971217
To compile against these libraries, you need to tell the compiler where to 
Packit 971217
find the header files and libraries. This is done with the
Packit 971217
pkg-config utility.
Packit 971217

Packit 971217

Packit 971217
The following interactive shell session demonstrates how
Packit 971217
pkg-config is used:
Packit 971217

Packit 971217
Packit 971217
$ pkg-config --cflags gstreamer-plugins-base-1.0
Packit 971217
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
Packit 971217
$ pkg-config --libs gstreamer-plugins-base-1.0
Packit 971217
-Wl,--export-dynamic -pthread -lgstreamer-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0
Packit 971217
Packit 971217

Packit 971217

Packit 971217

Packit 971217
Note that, because of the number of libraries provided in this package,
Packit 971217
the pkg-config information does not add -l flags itself
Packit 971217
to choose the libraries to link to.  You must add these yourself to select
Packit 971217
which of the libraries you want to use.
Packit 971217

Packit 971217
Packit 971217
Packit 971217
Packit 971217

Generated by GTK-Doc V1.27
Packit 971217
</body>
Packit 971217
</html>