Plugin writers guide - meson issue

Jesper Taxbøl jesper at taxboel.dk
Mon Mar 9 19:51:26 UTC 2020


Thanx got it. It works now

Im sort of new to the meson system.

Den man. 9. mar. 2020 kl. 10.49 skrev Yair Reshef <yair99 at gmail.com>:

> 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
>>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


-- 
Jesper Taxbøl
+45 61627501
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200309/d5a75d44/attachment.htm>


More information about the gstreamer-devel mailing list