在 Tinker OS V2.0.8 中找不到 gstreamer gst/video/colorbalance.h
Can't find gst/video/colorbalance.h of gstreamer in Tinker OS V2.0.8
我正在尝试此代码https://gstreamer.freedesktop.org/documentation/tutorials/playback/color-balance.html
并像这样编译它:
gcc test.c -o test1 `pkg-config --cflags --libs gstreamer-1.0`
但是报错:
test.c:4:36: fatal error: gst/video/colorbalance.h: No such file or
directory
而且我找到了整个文件,确实没有这样的文件。
find ./ -name "colorbalance.h"
那么缺少什么库?
由于您用 "debian" 标记了问题,在 Debian 系统上您可以使用 apt-file
找出哪个包包含文件:
$ apt-file search colorbalance.h
...
libgstreamer-plugins-base1.0-dev: /usr/include/gstreamer-1.0/gst/video/colorbalance.h
您需要安装libgstreamer-plugins-base1.0-dev
。
我正在尝试此代码https://gstreamer.freedesktop.org/documentation/tutorials/playback/color-balance.html
并像这样编译它:
gcc test.c -o test1 `pkg-config --cflags --libs gstreamer-1.0`
但是报错:
test.c:4:36: fatal error: gst/video/colorbalance.h: No such file or directory
而且我找到了整个文件,确实没有这样的文件。
find ./ -name "colorbalance.h"
那么缺少什么库?
由于您用 "debian" 标记了问题,在 Debian 系统上您可以使用 apt-file
找出哪个包包含文件:
$ apt-file search colorbalance.h
...
libgstreamer-plugins-base1.0-dev: /usr/include/gstreamer-1.0/gst/video/colorbalance.h
您需要安装libgstreamer-plugins-base1.0-dev
。