Issue when installing gstreamer-imx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue when installing gstreamer-imx

1,054 Views
quenreyn
Contributor III

I want to use imxvpuenc_h264 plugin to record a video stream from a camera with a imx6 quad.

Here is my gstreamer version results :

gst-launch-1.0 version 1.10.4
GStreamer 1.10.4
http://packages.qa.debian.org/gstreamer1.0

I have an issue when I try to compile the source from Freescale/gstreamer-imx:

Command are executed as root.

# -headers=KERNEL-HEADER-PATHtreamer-imx# ./waf configure --prefix=PREFIX --kernel-
Setting top to                           : /home/adminpfa/gstreamer-imx
Setting out to                           : /home/adminpfa/gstreamer-imx/build
Checking for 'gcc' (C compiler)          : /usr/bin/gcc
Checking for compiler switch -O2         : yes
Checking for compiler switch -DPIC       : yes
Checking for compiler switch -fPIC       : yes
Checking for compiler switch -std=gnu99  : yes
Checking for compiler switch -Wall       : yes
Checking for compiler switch -Wextra     : yes
Checking for compiler switch -Wno-sign-compare : yes
Checking for compiler switch -Wno-missing-field-initializers : yes
Checking for compiler switch -Wno-unused-parameter           : yes
Checking for compiler switch -Wno-cpp                        : yes
Building for Android                                         : no
Checking for library dl                                      : yes
Checking for library m                                       : yes
Checking for library pthread                                 : yes
Checking for program 'pkg-config'                            : /usr/bin/pkg-config
Checking for 'gstreamer-1.0' version                         : yes
Checking for 'gstreamer-1.0 >= 1.2.0'                        : yes
Checking for 'gstreamer-base-1.0 >= 1.2.0'                   : yes
Checking for 'gstreamer-audio-1.0 >= 1.2.0'                  : not found
could not find gstaudio library - not building audio plugins
Checking for 'gstreamer-video-1.0 >= 1.2.0'                  : not found
could not find gstvideo library - not building video plugins
Checking for 'gstreamer-bad-allocators-1.0'                  : not found
Checking for library gstphotography-1.0                      : not found
Checking for 'pango >= 1.40.0'                               : not found
Checking for 'cairo >= 1.14.0'                               : not found
Checking for 'pangocairo >= 1.40.0'                          : not found
checking whether or not the kernel version is greater than 3.5.0 : yes
# ./waf
Waf: Entering directory `/home/adminpfa/gstreamer-imx/build'
[ 1/20] Compiling src/common/canvas.c
[ 2/20] Compiling src/common/fd_object.c
[ 3/20] Compiling src/common/phys_mem_allocator.c
[ 4/20] Compiling src/common/phys_mem_buffer_pool.c
In file included from ../src/common/canvas.c:1:0:
../src/common/canvas.h:5:29: fatal error: gst/video/video.h: No such file or directory
 #include <gst/video/video.h>
                             ^
compilation terminated.

[ 5/20] Compiling src/common/phys_mem_meta.c
[ 6/20] Compiling src/common/region.c
[ 7/20] Compiling src/common/gstimxcommon.pc.in
[ 8/20] Compiling src/blitter/blitter.c
[ 9/20] Compiling src/blitter/compositor.c
[10/20] Compiling src/blitter/video_sink.c
[11/20] Compiling src/blitter/video_transform.c
[12/20] Compiling src/compositor/gst-backport/gstimxbpaggregator.c
[13/20] Compiling src/compositor/gst-backport/gstimxbpvideoaggregator.c
[14/20] Compiling src/compositor/compositor.c
In file included from ../src/common/phys_mem_buffer_pool.c:21:0:
../src/common/phys_mem_buffer_pool.h:25:29: fatal error: gst/video/video.h: No such file or directory
 #include <gst/video/video.h>
                             ^
compilation terminated.

Waf: Leaving directory `/home/adminpfa/gstreamer-imx/build'
Build failed
 -> task in 'gstimxcommon' failed (exit status 1):
        {task 3060275120: c canvas.c -> canvas.c.1.o}
['/usr/bin/gcc', '-Wextra', '-Wall', '-std=gnu99', '-fPIC', '-DPIC', '-O2', '-fPIC', '-pthread', '-pthrea
d', '-pthread', '-Isrc/common', '-I../src/common', '-I.', '-I..', '-I/usr/include/gstreamer-1.0', '-I/usr
/include/glib-2.0', '-I/usr/lib/arm-linux-gnueabihf/glib-2.0/include', '../src/common/canvas.c', '-c', '-
o/home/adminpfa/gstreamer-imx/build/src/common/canvas.c.1.o']
 -> task in 'gstimxcommon' failed (exit status 1):
        {task 3060275720: c phys_mem_buffer_pool.c -> phys_mem_buffer_pool.c.1.o}
['/usr/bin/gcc', '-Wextra', '-Wall', '-std=gnu99', '-fPIC', '-DPIC', '-O2', '-fPIC', '-pthread', '-pthrea
d', '-pthread', '-Isrc/common', '-I../src/common', '-I.', '-I..', '-I/usr/include/gstreamer-1.0', '-I/usr
/include/glib-2.0', '-I/usr/lib/arm-linux-gnueabihf/glib-2.0/include', '../src/common/phys_mem_buffer_poo
l.c', '-c', '-o/home/adminpfa/gstreamer-imx/build/src/common/phys_mem_buffer_pool.c.1.o']

Setting top to                           : /home/adminpfa/gstreamer-imx
Setting out to                           : /home/adminpfa/gstreamer-imx/build
Checking for 'gcc' (C compiler)          : /usr/bin/gcc
Checking for compiler switch -O2         : yes
Checking for compiler switch -DPIC       : yes
Checking for compiler switch -fPIC       : yes
Checking for compiler switch -std=gnu99  : yes
Checking for compiler switch -Wall       : yes
Checking for compiler switch -Wextra     : yes
Checking for compiler switch -Wno-sign-compare : yes
Checking for compiler switch -Wno-missing-field-initializers : yes
Checking for compiler switch -Wno-unused-parameter           : yes
Checking for compiler switch -Wno-cpp                        : yes
Building for Android                                         : no
Checking for library dl                                      : yes
Checking for library m                                       : yes
Checking for library pthread                                 : yes
Checking for program 'pkg-config'                            : /usr/bin/pkg-config
Checking for 'gstreamer-1.0' version                         : yes
Checking for 'gstreamer-1.0 >= 1.2.0'                        : yes
Checking for 'gstreamer-base-1.0 >= 1.2.0'                   : yes
Checking for 'gstreamer-audio-1.0 >= 1.2.0'                  : not found
could not find gstaudio library - not building audio plugins
Checking for 'gstreamer-video-1.0 >= 1.2.0'                  : not found
could not find gstvideo library - not building video plugins
Checking for 'gstreamer-bad-allocators-1.0'                  : not found
Checking for library gstphotography-1.0                      : not found
Checking for 'pango >= 1.40.0'                               : not found
Checking for 'cairo >= 1.14.0'                               : not found
Checking for 'pangocairo >= 1.40.0'                          : not found
checking whether or not the kernel version is greater than 3.5.0 : yes
root@smdr:/home/adminpfa/gstreamer-imx# ./waf
Waf: Entering directory `/home/adminpfa/gstreamer-imx/build'
[ 1/20] Compiling src/common/canvas.c
[ 2/20] Compiling src/common/fd_object.c
[ 3/20] Compiling src/common/phys_mem_allocator.c
[ 4/20] Compiling src/common/phys_mem_buffer_pool.c
In file included from ../src/common/canvas.c:1:0:
../src/common/canvas.h:5:29: fatal error: gst/video/video.h: No such file or directory
 #include <gst/video/video.h>
                             ^
compilation terminated.

[ 5/20] Compiling src/common/phys_mem_meta.c
[ 6/20] Compiling src/common/region.c
[ 7/20] Compiling src/common/gstimxcommon.pc.in
[ 8/20] Compiling src/blitter/blitter.c
[ 9/20] Compiling src/blitter/compositor.c
[10/20] Compiling src/blitter/video_sink.c
[11/20] Compiling src/blitter/video_transform.c
[12/20] Compiling src/compositor/gst-backport/gstimxbpaggregator.c
[13/20] Compiling src/compositor/gst-backport/gstimxbpvideoaggregator.c
[14/20] Compiling src/compositor/compositor.c
In file included from ../src/common/phys_mem_buffer_pool.c:21:0:
../src/common/phys_mem_buffer_pool.h:25:29: fatal error: gst/video/video.h: No such file or directory
 #include <gst/video/video.h>
                             ^
compilation terminated.

Waf: Leaving directory `/home/adminpfa/gstreamer-imx/build'
Build failed
 -> task in 'gstimxcommon' failed (exit status 1):
        {task 3060275120: c canvas.c -> canvas.c.1.o}
['/usr/bin/gcc', '-Wextra', '-Wall', '-std=gnu99', '-fPIC', '-DPIC', '-O2', '-fPIC', '-pthread', '-pthrea
d', '-pthread', '-Isrc/common', '-I../src/common', '-I.', '-I..', '-I/usr/include/gstreamer-1.0', '-I/usr
/include/glib-2.0', '-I/usr/lib/arm-linux-gnueabihf/glib-2.0/include', '../src/common/canvas.c', '-c', '-
o/home/adminpfa/gstreamer-imx/build/src/common/canvas.c.1.o']
 -> task in 'gstimxcommon' failed (exit status 1):
        {task 3060275720: c phys_mem_buffer_pool.c -> phys_mem_buffer_pool.c.1.o}
['/usr/bin/gcc', '-Wextra', '-Wall', '-std=gnu99', '-fPIC', '-DPIC', '-O2', '-fPIC', '-pthread', '-pthrea
d', '-pthread', '-Isrc/common', '-I../src/common', '-I.', '-I..', '-I/usr/include/gstreamer-1.0', '-I/usr
/include/glib-2.0', '-I/usr/lib/arm-linux-gnueabihf/glib-2.0/include', '../src/common/phys_mem_buffer_poo
l.c', '-c', '-o/home/adminpfa/gstreamer-imx/build/src/common/phys_mem_buffer_pool.c.1.o']

I can't get the installation done, if you have any idea of what migth be wrong, be welcome to answer !

Q.R

0 Kudos
0 Replies