<div dir="ltr">git clone <a href="https://gitlab.freedesktop.org/gstreamer/gst-template.git" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-template.git</a> <div>cd gst-template</div><div>meson builddir</div><div>ninja -C builddir</div><div><br></div><div>should compile</div><div>you are probably running meson from a subdir or somewhere it cant locate a meson.build file. </div><div> <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 8, 2020 at 3:25 PM Jesper Taxbøl <<a href="mailto:jesper@taxboel.dk">jesper@taxboel.dk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I am trying to follow the tutorial here to learn how to develop my own plugin<br><br><a href="https://gstreamer.freedesktop.org/documentation/plugin-development/basics/boiler.html" target="_blank">https://gstreamer.freedesktop.org/documentation/plugin-development/basics/boiler.html</a><br><br>I run into trouble immediately as the tutorial code has evolved from Automake to use meson.<br><br>The guide says checkout the code<br><br>$ git clone <a href="https://gitlab.freedesktop.org/gstreamer/gst-template.git" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-template.git</a><br><br>And make a plugin<br><br>$ cd gst-template/gst-plugin/src<br>$ ../tools/make_element MyFilter<br><br>At this step one needs to adjust the Makefile.am, which is missing. Now meson has replaced it.<br><br>The README in the repo says to do this:<br><br>$ cd gst-plugin<br>$ meson builddir<br>$ ninja -C builddir<br><br>When I do that I get.<br><br>$ meson builddir <br>The Meson build system<br>Version: 0.53.2<br>Source dir: /home/jesper/projects/gst-template/gst-plugin<br>Build dir: /home/jesper/projects/gst-template/gst-plugin/builddir<br>Build type: native build<br><br>ERROR: First statement must be a call to project<br><br>How do I proceed?<br><br>Kind regards<br><br>Jesper<br><div><br></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>