Bug 59575 - gstreamer-vaapi-0.5.0 fails to compile
Summary: gstreamer-vaapi-0.5.0 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: libva
Classification: Unclassified
Component: gst-vaapi (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: haihao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-18 22:55 UTC by Chris Vine
Modified: 2016-01-20 04:55 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
config.log (56.35 KB, text/plain)
2013-02-06 20:43 UTC, Chris Vine
Details
config.h (3.43 KB, text/plain)
2013-02-06 20:44 UTC, Chris Vine
Details

Description Chris Vine 2013-01-18 22:55:08 UTC
Compilation of gstreamer-vaapi-0.5.0 fails with:

make[4]: Entering directory `~/src/intel/gstreamer-vaapi-0.5.0/gst-libs/gst/video'
  CC     libgstvaapi_videoutils_la-gstvideodecoder.lo
In file included from gstvideodecoder.c:297:0:
gstvideodecoder.h:29:37: fatal error: gst/video/gstvideoutils.h: No such file or directory
compilation terminated.

The cause of the failure is as reported: /usr/include/gstreamer-0.10/gst/video/gstvideoutils.h is not provided by a standard gstreamer-0.10.36 and gst-plugins-base-0.10.36 installation.  gst-plugins-base-0.10.36 instead provides a gstbasevideoutils.h header file.

As it happens, gst-plugins-base-1.0 provides a gstvideoutils.h header, but gstreamer-vaapi does not compile against gstreamer-1.0, so something extremely odd seems to be going on here.

gstreamer-vaapi-0.4.2 compiles fine.
Comment 1 Jocelyn Li 2013-01-21 01:13:16 UTC
We may get help from Gwenole.
Comment 2 Gwenole Beauchesne 2013-02-05 22:20:02 UTC
Hi,

(In reply to comment #0)
> Compilation of gstreamer-vaapi-0.5.0 fails with:
> 
> make[4]: Entering directory
> `~/src/intel/gstreamer-vaapi-0.5.0/gst-libs/gst/video'
>   CC     libgstvaapi_videoutils_la-gstvideodecoder.lo
> In file included from gstvideodecoder.c:297:0:
> gstvideodecoder.h:29:37: fatal error: gst/video/gstvideoutils.h: No such
> file or directory
> compilation terminated.
> 
> The cause of the failure is as reported:
> /usr/include/gstreamer-0.10/gst/video/gstvideoutils.h is not provided by a
> standard gstreamer-0.10.36 and gst-plugins-base-0.10.36 installation. 
> gst-plugins-base-0.10.36 instead provides a gstbasevideoutils.h header file.

GstVideoDecoder is not part of gst-plugins-base 0.10.36. If your copy of gst-plugins-base contains it, then it's most likely incomplete. You will have to update or fix your GStreamer installation: either use a complete (unpatched) GStreamer 0.10 stack from released tarballs, or use a correct and complete snapshot from the "0.10" branch.

I suggest you review your local patches.
Comment 3 Gwenole Beauchesne 2013-02-05 22:23:47 UTC
+ please also attach your config.log and config.h files.
Comment 4 Chris Vine 2013-02-06 20:42:06 UTC
I use a completely clean gstreamer-0.10 installation, with no patches.

I also have gstreamer-1.0 installed, which is fine as it is parallel installable with gstreamer-0.10.  Possibly this is confusing gstreamer-vaapi-0.5 (it does not confuse gstreamer-vaapi-0.4).

You should be able to reproduce this by making a vanilla install of gstreamer-0.10 and of gstreamer-1.0 with plugins.  I can.

I will attach config.h and config.log
Comment 5 Chris Vine 2013-02-06 20:43:46 UTC
Created attachment 74301 [details]
config.log
Comment 6 Chris Vine 2013-02-06 20:44:11 UTC
Created attachment 74302 [details]
config.h
Comment 7 haihao 2016-01-20 04:55:55 UTC
Could you try the latest gstream-vaapi? Please file a bug on https://bugzilla.gnome.org/ if you still experience this issue.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.