Plugin writers guide - meson issue

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Plugin writers guide - meson issue

Jesper Taxbøl
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Plugin writers guide - meson issue

yair
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 <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Plugin writers guide - meson issue

Jesper Taxbøl
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 <[hidden email]>:
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 <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


--
Jesper Taxbøl
+45 61627501


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel