Plugin writers guide - meson issue

Jesper Taxbøl jesper at taxboel.dk
Sun Mar 8 13:25:02 UTC 2020


I am trying to follow the tutorial here to learn how to develop my own
plugin

https://gstreamer.freedesktop.org/documentation/plugin-development/basics/boiler.html

I run into trouble immediately as the tutorial code has evolved from
Automake to use meson.

The guide says checkout the code

$ git clone https://gitlab.freedesktop.org/gstreamer/gst-template.git

And make a plugin

$ cd gst-template/gst-plugin/src
$ ../tools/make_element MyFilter

At this step one needs to adjust the Makefile.am, which is missing. Now
meson has replaced it.

The README in the repo says to do this:

$ cd gst-plugin
$ meson builddir
$ ninja -C builddir

When I do that I get.

$ meson builddir
The Meson build system
Version: 0.53.2
Source dir: /home/jesper/projects/gst-template/gst-plugin
Build dir: /home/jesper/projects/gst-template/gst-plugin/builddir
Build type: native build

ERROR: First statement must be a call to project

How do I proceed?

Kind regards

Jesper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200308/dcc1f935/attachment.htm>


More information about the gstreamer-devel mailing list