build documentation
sudo apt install libglib2.0-dev
flex bison
gst/parse/meson.build:7:0: ERROR: Program(s) ['flex', 'win_flex'] not found or not executable
sudo apt-get install flex bison
libxml2-dev
Package libxml-2.0 was not found in the pkg-config search path.
sudo apt-get install libxml2-dev
json-glib-1.0
Package json-glib-1.0 was not found in the pkg-config search path
sudo apt-get install libjson-glib-dev
pkg-config --cflags json-glib-1.0
hotdoc
docs/meson.build:37:0: ERROR: Program(s) ['hotdoc'] not found or not executabl
sudo -s
python3 -m pip install hotdoc
ninja
sudo apt-get install ninja-build => 1.5 fail
python3.7 -m pip install ninja => 1.9.0.git.kitware.dyndep-1.jobserver-1
meson build/ =>libpng12-dev fail
FFMEG
../subprojects/FFmpeg/libavfilter/avf_showcqt.c:40:35: fatal error: fontconfig/fontconfig.h: No such file or directory
compilation terminated.
sudo apt-get install libpng-dev libfreetype6-dev libfontconfig1-dev
meson configure -Dgst-plugins-bad:iqa=disabled -Dgst-plugins-good:png=disabled build/
ninja -C build
libpng16-dev
/usr/include/libpng12/pngconf.h:383:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘.’ token
pngconf.h in libpng already includes setjmp.h;
^
/usr/include/libpng12/pngconf.h:384:12: error: unknown type name ‘dont’
dont include it again.;
^
/usr/include/libpng12/pngconf.h:384:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘it’
dont include it again.;
^
/usr/include/libpng12/pngconf.h:384:29: error: unknown type name ‘it’
sudo apt-get install libpng16-dev -y
升級 python 3.5 到 3.7
https://medium.com/k2shouai/ubuntu-16-04-%E6%9B%B4%E6%96%B0-python-3-7-f08cee97a64b
sudo python3 -m pip install –upgrade pip
cmake
apt-get install cmake
ERROR: Dependency “mount” not found, tried pkgconfig
sudo apt install libmount
libmount-dev flex bison cmake
meson result
All GStreamer modules 1.17.0.1
Subprojects
FFmpeg: YES 3 warnings
dssim: YES
gl-headers: YES
glib: YES 1 warnings
gst-devtools: YES
gst-editing-services: YES
gst-examples: YES
gst-integration-testsuites: YES
gst-libav: YES
gst-omx: NO Feature 'omx' disabled
gst-plugins-bad: YES 2 warnings
gst-plugins-base: YES 4 warnings
gst-plugins-good: YES 6 warnings
gst-plugins-rs: NO Feature 'rs' disabled
gst-plugins-ugly: YES 1 warnings
gst-python: NO Could not find dependency pygobject_dep in subproject pygobject
gst-rtsp-server: YES
gstreamer: YES 1 warnings
gstreamer-sharp: NO Feature 'sharp' disabled
gstreamer-vaapi: NO Feature 'vaapi' disabled
json-glib: YES 3 warnings
libdrm: NO Dependency "pciaccess" not found, tried pkgconfig
libmicrodns: YES
libnice: YES
libpsl: YES
libsoup: NO [Errno 2] No such file or directory: 'glib-compile-resources': 'glib-compile-resources'
libxml2: YES
openh264: NO Program(s) ['nasm', 'nasm.exe'] not found or not executable
orc: YES
pygobject: NO Subproject directory not found and gobject-introspection.wrap file not found
tinyalsa: NO Subproject directory not found and tinyalsa.wrap file not found
x264: YES
Option buildtype is: debug [default: debugoptimized]
Found ninja-1.9.0.git.kitware.dyndep-1.jobserver-1 at /home/yuyan/.local/bin/ninja