docs: tutorials: improve Linux compile instruction for newbies

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7859>
This commit is contained in:
Niklas Jang 2019-09-14 15:54:03 +00:00 committed by GStreamer Marge Bot
parent 1a9ecaeec9
commit 3dcdea9e80

View file

@ -59,6 +59,14 @@ git clone https://gitlab.freedesktop.org/gstreamer/gstreamer
#### Building the tutorials #### Building the tutorials
Change directory to find basic-tutorials-1:
```
cd gstreamer/subprojects/gst-docs/examples/tutorials/
```
And then compile it with:
``` ```
gcc basic-tutorial-1.c -o basic-tutorial-1 `pkg-config --cflags --libs gstreamer-1.0` gcc basic-tutorial-1.c -o basic-tutorial-1 `pkg-config --cflags --libs gstreamer-1.0`
``` ```