[Bug 702297] New: build broken - c++ header indeirectly included into c code (gstsegmentation.h contains a .hpp)
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Jun 14 15:15:37 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=702297
GStreamer | gst-plugins-bad | git
Summary: build broken - c++ header indeirectly included into c
code (gstsegmentation.h contains a .hpp)
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: prahal at yahoo.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=246861)
View: https://bugzilla.gnome.org/attachment.cgi?id=246861
Review: https://bugzilla.gnome.org/review?bug=702297&attachment=246861
move c++ header include from c header to c++ implementation
ext/opencv/gstsegmentation.h include a c++ header (thus failure to build since
gcc fails to find c++ list container) . since commit c313e1d3 .
moving #include <opencv2/video/background_segm.hpp> from the header to the
implementation of gstsegmentation fixes the issue
In file included from gstsegmentation.h:51:0,
from gstopencv.c:42:
/usr/include/opencv2/video/background_segm.hpp:47:16: fatal error: list:
No such file or directory
#include <list>
^
compilation terminated.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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