Jump to content

GStreamer Daemon - Building GStreamer Daemon: Difference between revisions

Undo revision 24904 by Mleiva (talk)
No edit summary
(Undo revision 24904 by Mleiva (talk))
Tag: Undo
Line 79: Line 79:
== Building GStreamer Daemon ==
== Building GStreamer Daemon ==


GStreamer Daemon is an [https://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html Autotools] a [https://mesonbuild.com/ Meson] project. This makes it easy to build software packages for a variety of operating systems and platforms, including embedded devices.  
GStreamer Daemon is an [https://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html Autotools] project. This makes it easy to build software packages for a variety of operating systems and platforms, including embedded devices.  


=== Autotools ===
=== Building for x86 ===
 
==== Building for x86 ====


Building for a host computer is straightforward. You may run the following commands:
Building for a host computer is straightforward. You may run the following commands:
Line 95: Line 93:
Specify <tt>./configure --prefix $INSTALL_PATH</tt> if you want the build to be configured for installation in a directory other than '''/usr/local'''.
Specify <tt>./configure --prefix $INSTALL_PATH</tt> if you want the build to be configured for installation in a directory other than '''/usr/local'''.


==== Building for Other Platforms ====
=== Building for Other Platforms ===


The process to build for other platforms is similar that the one for x86.  
The process to build for other platforms is similar that the one for x86.  
Line 106: Line 104:
In the previous commands ''<platform-host-name>'' is the prefix that would be added to the cross-compiler as: ''<platform-host-name>-gcc". I.E.: ''arm-none-linux''.  
In the previous commands ''<platform-host-name>'' is the prefix that would be added to the cross-compiler as: ''<platform-host-name>-gcc". I.E.: ''arm-none-linux''.  


==== Advanced Configuration ====
=== Advanced Configuration ===


The following command may be used as a template for more advanced configurations
The following command may be used as a template for more advanced configurations
Line 119: Line 117:
</syntaxhighlight>
</syntaxhighlight>


==== Installing the Binaries ====
== Installing the Binaries ==


Once the <tt>make</tt> command completes, you can install the generated binaries:
Once the <tt>make</tt> command completes, you can install the generated binaries:
Line 131: Line 129:
sudo make install
sudo make install
</syntaxhighlight>
</syntaxhighlight>
=== Meson ===
==== Building for x86 ====
Building for a host computer is straightforward. You may run the following commands:
<syntaxhighlight lang="bash">
mkdir build
meson build
ninja -C build
</syntaxhighlight>
Specify <tt>./configure --prefix $INSTALL_PATH</tt> (we recommend <tt>meson --prefix=/usr buildmeson/ </tt>)if you want the build to be configured for installation in a directory other than '''/usr/local'''.


== Common build problems and how to resolve them ==
== Common build problems and how to resolve them ==
214

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.