meetecho / simple-whip-client

Simple WHIP Client (based on GStreamer's webrtcbin)
GNU General Public License v3.0
66 stars 18 forks source link

Make error #15

Closed bsamadi closed 3 months ago

bsamadi commented 9 months ago

This is what I get when I run make:

src/whip-client.c:19:10: fatal error: gst/gst.h: No such file or directory
   19 | #include <gst/gst.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:11: src/whip-client.o] Error 1
Arsenaldc commented 7 months ago

Have you solved this problem? How did you solve it?

alex-vyverman commented 7 months ago

on ubuntu 22.04, I ran:

apt-get install -y --no-install-recommends \ gdb \ git \ build-essential \ devscripts \ pkg-config \ sudo \ libc6-dev \ gstreamer1.0-tools \ gstreamer1.0-nice \ gstreamer1.0-plugins-bad \ gstreamer1.0-plugins-ugly \ gstreamer1.0-plugins-good \ libglib2.0-dev \ libgstreamer-plugins-bad1.0-dev \ libsoup2.4-dev \ libjson-glib-dev \ libgstreamer1.0-dev \ libgstreamer-plugins-base1.0-dev \ gstreamer1.0-plugins-base \ gstreamer1.0-libav

like shown in the dockerfile. Afterwards it compiled