Plugin writers guide - meson issue

Yair Reshef yair99 at gmail.com
Mon Mar 9 09:49:24 UTC 2020


git clone https://gitlab.freedesktop.org/gstreamer/gst-template.git
cd gst-template
meson builddir
ninja -C builddir

should compile
you are probably running meson from a subdir or somewhere it cant locate a
meson.build file.


On Sun, Mar 8, 2020 at 3:25 PM Jesper Taxbøl <jesper at taxboel.dk> wrote:

> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200309/b1dee033/attachment-0001.htm>


More information about the gstreamer-devel mailing list