[Bug 747104] Windows adaptation remarks

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 3 01:57:34 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747104

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
> Also for the "#include <gst.h>" include to work without causing multiple
> errors of file not found, the following paths must currently be added to the
> compiler's list of include folders:

It should be #include <gst/gst.h>

> C:\Program Files (x86)\GStreamer\1.0\x86\include
> C:\Program Files (x86)\GStreamer\1.0\x86\include\gstreamer-1.0
> C:\Program Files (x86)\GStreamer\1.0\x86\include\gstreamer-1.0\gst
> C:\Program Files (x86)\GStreamer\1.0\x86\include\glib-2.0
> C:\Program Files (x86)\GStreamer\1.0\x86\lib\glib-2.0\include
> 
> The first one should really have been enough. The others are currently
> required because the #include statements do not include the correct
> sub-folder names (ie. "#include <gstreamer-1.0\????.h>").

I think it should be the second and the last two. Check what

  pkg-config --cflags gstreamer-1.0

gives you.


> I also found out that gst.h omits video-info.h, so one needs to add:
> #include <video/video-info.h>

On purpose, the video stuff is in a separate helper library with its own
include. The include should be:

  #include <gst/foo/foo.h>

in this case:

  #include <gst/video/video.h>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list