在上一个关于luvcview任务中发现许多isp功能未实现,考虑用gstreamer再找到独立rkisp插件进行编写.目前由于相关资料较少,可能没有直接的rkisp插件,好在能在githup上找到Linux-Rockchip相关文件.
https://github.com/rockchip-linux

根据 <RK_Linux_Camera_Gstreamer 应用开发>

1.搭建gstreamer环境

略.

2.安装使用Gstreamer的插件

安装使用 Gstreamer rkisp element:
首先解压缩基于 Gstreamer 的 rkisp 插件,并根据不同环境进行编译安装。
Firefly 开发板上,请运行以下命令:

$ ./autogen.sh --prefix=/usr/local --enable-gst --enable-rkiq
$make
$ make install

在没有编译环境的开发板上,请先在 PC 端运行以下命令进行交叉编译后,再将编译生成的库安装
到开发板上,这里以 excavator 开发板为例:

$ export PATH=/path/to/cross-compiler:$PATH
$ CC=aarch64-linux-gcc ./autogen.sh --prefix=./out --host=aarch64-linux
--enable-gst --enable-rkiq
$ make
$ make install

目前准备在下述几个包中进行编译,怀着试一试的态度考察是否可行:
把它们就当成rkisp试试…
在这里插入图片描述若需需安装交叉编译工具,rk3399如下:

$ sudo apt-get install gcc-arm-linux-gnueabihf \
gcc-aarch64-linux-gnu device-tree-compiler lzop libncurses5-dev \
libssl1.0.0 libssl-dev

检测交叉编译工具:

$aarch64-linux-gnu-gcc -v

编译过程与结果

gst-plugins-rockchip-master

在这里插入图片描述

fatal: Not a git repository (or any of the parent directories): .git
Failed to create commit hook symlink, copying instead ...
cp: 无法获取'common/hooks/pre-commit.hook' 的文件状态(stat): 没有那个文件或目录
+ passing argument --prefix=./out to configure
+ passing argument --host=aarch64-linux to configure
+ passing argument --enable-gst to configure
+ passing argument --enable-rkiq to configure
+ options passed to configure:  --prefix=./out --host=aarch64-linux --enable-gst --enable-rkiq
+ check for build tools
  checking for autoreconf ... 
/usr/bin/autoreconf
  checking for pkg-config ... 
/usr/bin/pkg-config
+ running autopoint --force...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:66: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:66: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:66: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
configure.ac:46: installing './compile'
configure.ac:10: installing './config.guess'
configure.ac:10: installing './config.sub'
configure.ac:13: installing './install-sh'
configure.ac:13: installing './missing'
Makefile.am: installing './INSTALL'
Makefile.am:1: warning: AM_GNU_GETTEXT used but 'po' not in SUBDIRS
gst/rkv4l2/Makefile.am: installing './depcomp'
+ running configure ... 
  default flags:  --enable-maintainer-mode --enable-gtk-doc
  external flags:  --prefix=./out --host=aarch64-linux --enable-gst --enable-rkiq

./configure --enable-maintainer-mode --enable-gtk-doc --prefix=./out --host=aarch64-linux --enable-gst --enable-rkiq
configure: WARNING: unrecognized options: --enable-gtk-doc, --enable-gst, --enable-rkiq
configure: error: expected an absolute directory name for --prefix: ./out
  configure failed

补全路径

root@lowfree02:/home/lowfree/doc/rockchip-linux/gst-plugins-rockchip-master# CC=aarch64-linux-gcc ./autogen.sh --prefix=/home/lowfree/doc/rockchip-linux/gst-plugins-rockchip-master/out --host=aarch64-linux --enable-gst --enable-rkiq
fatal: Not a git repository (or any of the parent directories): .git
Failed to create commit hook symlink, copying instead ...
cp: 无法获取'common/hooks/pre-commit.hook' 的文件状态(stat): 没有那个文件或目录
+ passing argument --prefix=/home/lowfree/doc/rockchip-linux/gst-plugins-rockchip-master/out to configure
+ passing argument --host=aarch64-linux to configure
+ passing argument --enable-gst to configure
+ passing argument --enable-rkiq to configure
+ options passed to configure:  --prefix=/home/lowfree/doc/rockchip-linux/gst-plugins-rockchip-master/out --host=aarch64-linux --enable-gst --enable-rkiq
+ check for build tools
  checking for autoreconf ... 
/usr/bin/autoreconf
  checking for pkg-config ... 
/usr/bin/pkg-config
+ running autopoint --force...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:66: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:66: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:66: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
configure.ac:46: installing './compile'
configure.ac:13: installing './missing'
Makefile.am:1: warning: AM_GNU_GETTEXT used but 'po' not in SUBDIRS
gst/rkv4l2/Makefile.am: installing './depcomp'
+ running configure ... 
  default flags:  --enable-maintainer-mode --enable-gtk-doc
  external flags:  --prefix=/home/lowfree/doc/rockchip-linux/gst-plugins-rockchip-master/out --host=aarch64-linux --enable-gst --enable-rkiq

./configure --enable-maintainer-mode --enable-gtk-doc --prefix=/home/lowfree/doc/rockchip-linux/gst-plugins-rockchip-master/out --host=aarch64-linux --enable-gst --enable-rkiq
configure: WARNING: unrecognized options: --enable-gtk-doc, --enable-gst, --enable-rkiq
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking nano version... 0 (release)
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for aarch64-linux-gcc... aarch64-linux-gcc
checking whether the C compiler works... no
configure: error: in `/home/lowfree/doc/rockchip-linux/gst-plugins-rockchip-master':
configure: error: C compiler cannot create executables
See `config.log' for more details
  configure failed


gstreamer-camera-master

在这里插入图片描述

ln: 无法创建符号链接'.git/hooks/pre-commit': 没有那个文件或目录
Generating configure files
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

configure.ac:31: installing './compile'
configure.ac:34: installing './config.guess'
configure.ac:34: installing './config.sub'
configure.ac:13: installing './install-sh'
configure.ac:13: installing './missing'
modules/rkisp/Makefile.am: installing './depcomp'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:31: installing './compile'
configure.ac:13: installing './missing'
modules/rkisp/Makefile.am: installing './depcomp'
configure: error: expected an absolute directory name for --prefix: ./out

ln: 无法创建符号链接'.git/hooks/pre-commit': 没有那个文件或目录
...
configure: error: expected an absolute directory name for --prefix: ./out

补全成绝对路径

root@lowfree02:/home/lowfree/doc/rockchip-linux/gstreamer-camera-master# 
CC=aarch64-linux-gcc ./autogen.sh --prefix=/home/lowfree/doc/rockchip-linux/gstreamer-camera-master/out --host=aarch64-linux --enable-gst --enable-rkiq

ln: 无法创建符号链接'.git/hooks/pre-commit': 没有那个文件或目录
Generating configure files
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:31: installing './compile'
configure.ac:13: installing './missing'
modules/rkisp/Makefile.am: installing './depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for aarch64-linux-gcc... aarch64-linux-gcc
checking whether the C compiler works... no
configure: error: in `/home/lowfree/doc/rockchip-linux/gstreamer-camera-master':
configure: error: C compiler cannot create executables
See `config.log' for more details

gstreamer-rockchip-extra-master
root@lowfree02:/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-extra-master# CC=aarch64-linux-gcc ./autogen.sh --prefix=/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-extra-master/out --host=aarch64-linux --enable-gst --enable-rkiq
fatal: Not a git repository (or any of the parent directories): .git
Failed to create commit hook symlink, copying instead ...
cp: 无法获取'common/hooks/pre-commit.hook' 的文件状态(stat): 没有那个文件或目录
+ passing argument --prefix=/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-extra-master/out to configure
+ passing argument --host=aarch64-linux to configure
+ passing argument --enable-gst to configure
+ passing argument --enable-rkiq to configure
+ options passed to configure:  --prefix=/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-extra-master/out --host=aarch64-linux --enable-gst --enable-rkiq
+ check for build tools
  checking for autoreconf ... 
/usr/bin/autoreconf
  checking for pkg-config ... 
/usr/bin/pkg-config
+ running autopoint --force...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:66: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:66: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:66: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
configure.ac:46: installing './compile'
configure.ac:10: installing './config.guess'
configure.ac:10: installing './config.sub'
configure.ac:13: installing './install-sh'
configure.ac:13: installing './missing'
Makefile.am: installing './INSTALL'
Makefile.am:1: warning: AM_GNU_GETTEXT used but 'po' not in SUBDIRS
gst/kms/Makefile.am: installing './depcomp'
+ running configure ... 
  default flags:  --enable-maintainer-mode --enable-gtk-doc
  external flags:  --prefix=/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-extra-master/out --host=aarch64-linux --enable-gst --enable-rkiq

./configure --enable-maintainer-mode --enable-gtk-doc --prefix=/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-extra-master/out --host=aarch64-linux --enable-gst --enable-rkiq
configure: WARNING: unrecognized options: --enable-gtk-doc, --enable-gst, --enable-rkiq
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking nano version... 0 (release)
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for aarch64-linux-gcc... aarch64-linux-gcc
checking whether the C compiler works... no
configure: error: in `/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-extra-master':
configure: error: C compiler cannot create executables
See `config.log' for more details
  configure failed
gstreamer-rockchip-master
root@lowfree02:/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-master# CC=aarch64-linux-gcc ./autogen.sh --prefix=/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-master/out --host=aarch64-linux --enable-gst --enable-rkiqfatal: Not a git repository (or any of the parent directories): .git
Failed to create commit hook symlink, copying instead ...
cp: 无法创建普通文件'.git/hooks/pre-commit': 没有那个文件或目录
+ passing argument --prefix=/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-master/out to configure
+ passing argument --host=aarch64-linux to configure
+ passing argument --enable-gst to configure
+ passing argument --enable-rkiq to configure
+ options passed to configure:  --prefix=/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-master/out --host=aarch64-linux --enable-gst --enable-rkiq
+ check for build tools
  checking for autoreconf ... 
/usr/bin/autoreconf
  checking for pkg-config ... 
/usr/bin/pkg-config
+ running autopoint --force...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:63: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:63: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:63: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
configure.ac:46: installing './compile'
configure.ac:13: installing './missing'
Makefile.am:1: warning: AM_GNU_GETTEXT used but 'po' not in SUBDIRS
gst/rkximage/Makefile.am: installing './depcomp'
+ running configure ... 
  default flags:  --enable-maintainer-mode --enable-gtk-doc
  external flags:  --prefix=/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-master/out --host=aarch64-linux --enable-gst --enable-rkiq

./configure --enable-maintainer-mode --enable-gtk-doc --prefix=/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-master/out --host=aarch64-linux --enable-gst --enable-rkiq
configure: WARNING: unrecognized options: --enable-gtk-doc, --enable-gst, --enable-rkiq
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking nano version... 0 (release)
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for aarch64-linux-gcc... aarch64-linux-gcc
checking whether the C compiler works... no
configure: error: in `/home/lowfree/doc/rockchip-linux/gstreamer-rockchip-master':
configure: error: C compiler cannot create executables
See `config.log' for more details
  configure failed

通用命令,使用环境变量

CC=aarch64-linux-gcc ./autogen.sh --prefix=$PWD/out --host=aarch64-linux

若直接用在某一个目录下运行脚本:

lowfree@lowfree02:~/doc/rockchip-linux/gst-plugins-rockchip-master$ ./autogen.sh 

+ check for build tools
  checking for autoreconf ... 
/usr/bin/autoreconf
  checking for pkg-config ... 
/usr/bin/pkg-config
+ checking for autogen.sh options
  This autogen script will automatically run ./configure as:
  ./configure --enable-maintainer-mode --enable-gtk-doc
  To pass any additional options, please specify them on the ./autogen.sh
  command line.
+ running autopoint --force...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:66: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:66: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:66: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
configure.ac:46: installing './compile'
configure.ac:13: installing './missing'
Makefile.am:1: warning: AM_GNU_GETTEXT used but 'po' not in SUBDIRS
gst/rkv4l2/Makefile.am: installing './depcomp'
+ running configure ... 
  default flags:  --enable-maintainer-mode --enable-gtk-doc
./configure --enable-maintainer-mode --enable-gtk-doc
configure: WARNING: unrecognized options: --enable-gtk-doc
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking nano version... 0 (release)
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
DOMAIN = gst-plugins-rockchip-1.0
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for VALGRIND... no
configure: Using GStreamer Plug-ins source release as package name
configure: Using Unknown package origin as package origin

configure: *** checking feature: building of plug-ins with external deps ***
configure: building external plug-ins

configure: *** checking feature: building of experimental plug-ins ***
configure: not building experimental plug-ins
checking whether byte ordering is bigendian... no
checking whether byte ordering is bigendian... (cached) no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for g++... yes
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking dependency style of gcc... gcc3
checking for working do while(0) macros... yes
checking for valgrind... no
checking for cos in -lm... yes
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for ANSI C header files... (cached) yes
checking if compiler supports gcc-style inline assembly... yes
checking for rint... yes
checking for sinh... yes
checking for cosh... yes
checking for asinh... yes
checking for fpclass... no
checking for isinf... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for struct ip_mreqn... yes
checking for GLIB... no
configure: Requested 'glib-2.0 >= 2.32.0' but version of GLib is 2.0.0
configure: error: This package requires GLib >= 2.32.0 to compile.
  configure failed

报GLib版本号的问题,下一篇中将解决GLib版本的问题.

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐