mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
9c0b629088
Original commit message from CVS: Fixed the plugin and GStreamer location on Windows
95 lines
5 KiB
XML
95 lines
5 KiB
XML
<chapter id="chapter-win32">
|
|
<title>Windows support</title>
|
|
<sect1 id="section-win32-build">
|
|
<title>Building <application>GStreamer</application> under Win32</title>
|
|
|
|
<para>There are different makefiles that can be used to build GStreamer with the usual Microsoft
|
|
compiling tools.</para>
|
|
|
|
<para>The Makefile is meant to be used with the GNU make program and the free
|
|
version of the Microsoft compiler (<ulink url="http://msdn.microsoft.com/visualc/vctoolkit2003/">http://msdn.microsoft.com/visualc/vctoolkit2003/</ulink>). You also
|
|
have to modify your system environment variables to use it from the command-line. You will also
|
|
need a working Platform SDK for Windows that is available for free from Microsoft.</para>
|
|
|
|
<para>The projects/makefiles will generate automatically some source files needed to compile
|
|
GStreamer. That requires that you have installed on your system some GNU tools and that they are
|
|
available in your system PATH.</para>
|
|
|
|
<para>The GStreamer project depends on other libraries, namely :</para>
|
|
<itemizedlist>
|
|
<listitem><para>GLib</para></listitem>
|
|
<listitem><para>libpopt</para></listitem>
|
|
<listitem><para>libxml</para></listitem>
|
|
<listitem><para>libintl</para></listitem>
|
|
<listitem><para>libiconv</para></listitem>
|
|
</itemizedlist>
|
|
|
|
<para>The sources should be organised in folders as follow :</para>
|
|
<itemizedlist>
|
|
<listitem><para>$(PROJECT_DIR)\glib</para></listitem>
|
|
<listitem><para>$(PROJECT_DIR)\gstreamer (this package)</para></listitem>
|
|
<listitem><para>$(PROJECT_DIR)\libiconv</para></listitem>
|
|
<listitem><para>$(PROJECT_DIR)\libintl</para></listitem>
|
|
<listitem><para>$(PROJECT_DIR)\libxml2</para></listitem>
|
|
<listitem><para>$(PROJECT_DIR)\popt</para></listitem>
|
|
</itemizedlist>
|
|
|
|
<note>
|
|
<title>Notes</title>
|
|
|
|
<para>you can find Win32 versions of these libraries on <ulink url="http://gettext.sourceforge.net/">http://gettext.sourceforge.net/</ulink> and
|
|
<ulink url="http://gnuwin32.sourceforge.net/">http://gnuwin32.sourceforge.net/</ulink> (you will need the Binaries and Developer files for each package).</para>
|
|
|
|
<para>GLib can be found on <ulink url="ftp://ftp.gtk.org/pub/gtk/v2.4/" type="ftp">ftp://ftp.gtk.org/pub/gtk/v2.4/</ulink> and should be compiled from the
|
|
sources</para>
|
|
|
|
<para>NOTE : GNU tools needed that you can find on <ulink url="http://gnuwin32.sourceforge.net/">http://gnuwin32.sourceforge.net/</ulink></para>
|
|
<itemizedlist>
|
|
<listitem><para>GNU flex (tested with 2.5.4)</para></listitem>
|
|
<listitem><para>GNU bison (tested with 1.35)</para></listitem>
|
|
</itemizedlist>
|
|
|
|
<para>and <ulink url="http://www.mingw.org/">http://www.mingw.org/</ulink></para>
|
|
<itemizedlist>
|
|
<listitem><para>GNU make (tested with 3.80)</para></listitem>
|
|
</itemizedlist>
|
|
|
|
<para>the generated files from the -auto makefiles will be available soon separately on the net
|
|
for convenience (people who don't want to install GNU tools).</para>
|
|
</note>
|
|
</sect1>
|
|
|
|
<sect1 id="section-win32-install">
|
|
<title>Installation on the system</title>
|
|
|
|
<para>By default, GSTreamer needs a registry. You have to generate it using "gst-register.exe". It will create
|
|
the file in c:\gstreamer\registry.xml that will hold all the plugins you can use.</para>
|
|
|
|
<para>You should install the GSTreamer core in c:\gstreamer\bin and the plugins in c:\gstreamer\plugins.</para>
|
|
<para>For example, my current setup is :</para>
|
|
|
|
<itemizedlist>
|
|
<listitem><para><filename>c:\gstreamer\registry.xml</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\gst-inspect.exe</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\gst-launch.exe</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\gst-register.exe</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\gstbytestream.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\gstelements.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\gstoptimalscheduler.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\gstspider.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\iconv.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\intl.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\libglib-2.0-0.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\libgmodule-2.0-0.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\libgobject-2.0-0.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\libgthread-2.0-0.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\libgtreamer-0.8.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\libxml2.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\bin\popt1.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\plugins\gst-libs.dll</filename></para></listitem>
|
|
<listitem><para><filename>c:\gstreamer\plugins\gstmatroska.dll</filename></para></listitem>
|
|
</itemizedlist>
|
|
|
|
</sect1>
|
|
|
|
</chapter>
|