gst-plugin-ndi
gst-plugin-ndi copied to clipboard
cargo build doesn't work because it requires gstreamer version 1.18
Is it really necessary to have gstrearmer version 1.18? Can't it be forced to use gstreamer version 1.16?
this problem comes from commit 2345c455c142812974ed1a760bab8c92f5ff6931. With this commit you must have Gstreamer version 1.18 installed. You can see the changes here #55
How can i upgrade gstreamer to 1.18?
It depends on the OS or Linux distribution.
For example, in Ubuntu 21.04 running in a console;
apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
already installs version 1.8 by default.
However, in Ubuntu 20.04 that same command installs the previous version (the repositories are not updated)
if you want version 1.8 in Ubuntu 20.04 it is necessary to compile the source code
I have Ubuntu 20.04, so i tried to compile gstreamer. Meson build succesfully, but ninja gives me this error:
../subprojects/libxml2-2.9.7/xmlschemas.c: In function ‘xmlSchemaSetValidStructuredErrors’:
../subprojects/libxml2-2.9.7/xmlschemas.c:27818:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentatio
]
27818 | if (ctxt == NULL)
| ^~
../subprojects/libxml2-2.9.7/xmlschemas.c:27820:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
27820 | ctxt->serror = serror;
| ^~~~
[3549/7880] Compiling C object subprojects/sqlite-amalgamation-3340100/libsqlite3.so.0.8.6.p/sqlite3.c.o
ninja: build stopped: subcommand failed.
I have already installed: meson 0.59.2 ninja 1.10.0 flex 2.6.4 bison (GNU Bison) 3.5.1 sqlite 3.31.1
Any help would be appreciated, thank you
Yes, I also have the same problem :(
Check https://github.com/teltek/gst-plugin-ndi/blob/cdfa63f341f971fb848ff8aa649f116e3812762c/Cargo.toml#L23-L28
If you have an old GStreamer version you can build with
$ cargo build --no-default-features --features whatever_you_want_to_enable_of_the_above_features
For the GStreamer build problem, please report with details at https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/new