[Bug 750493] New: Missing include prevents qt-gstreamer tests from building
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Jun 6 08:30:16 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=750493
Bug ID: 750493
Summary: Missing include prevents qt-gstreamer tests from
building
Classification: Platform
Product: GStreamer
Version: git master
OS: Mac OS
Status: NEW
Severity: normal
Priority: Normal
Component: qt-gstreamer
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: hannes.weisbach at tu-dresden.de
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
The test "discoverer test" in tests/auto #includes <gst/pbutils/pbutils.h>.
However, GSTREAMER_PBUTILS_INCLUDE_DIR is not in the include_directories list.
Usually, there is no problem, because <gst/pbutils/pbutils.h> would be in
<prefix>/include/gstreamer-1.0/, which is included as GSTREAMER_INCLUDE_DIR.
On OS X, the brew package manager installs every package in its own prefix and
symlinks them into /usr/local. When building, it uses the prefix where the
package is actually installed. Thus, not having GSTREAMER_PBUTILS_INCLUDE_DIR
in include_directories results in pbutils.h not being found.
The fix is to include ${GSTREAMER_PBUTILS_INCLUDE_DIR} in the
include_directories() directive in tests/auto/CMakeLists.txt.
--
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