Environment for Demo plugin dev
Hi,
I'm trying to build a demo plugin (using the Boilerplate). I followed the instructions, but got stuck with the following issue:
I have GStreamer 1.16.3 installed (on Ubuntu 20.04). I build the GStreamer main branch from code and verified that I can run a simple pipeline with the latest version (setting --gst-plugin-path or env var)
Running meson build (to build a sample plugin) gives the error:
alexc@impNUC:~/Work/gst-template$ meson build
The Meson build system
Version: 0.60.2
Source dir: /home/alexc/Work/gst-template
Build dir: /home/alexc/Work/gst-template/build
Build type: native build
Project name: gst-template
Project version: 1.19.0.1
C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Dependency gstreamer-1.0 found: NO found 1.16.3 but need: '>=1.19'
Found CMake: /usr/bin/cmake (3.16.3)
Run-time dependency gstreamer-1.0 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency gstreamer-1.0
meson.build:11:0: ERROR: Neither a subproject directory nor a gstreamer.wrap file was found.
So, it requires a newer branch.... How to set up the environment, so it could find all it needs? I tried to modify the Path, but it didn't work.
Thanks,
Alex