[gstreamer-bugs] [Bug 635646] [opencv] Add cvcalchist element for calculating histogram [PATCH]

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 7 15:36:39 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=635646
  GStreamer | gst-plugins-bad | git

--- Comment #1 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2010-12-07 23:36:36 UTC ---
I'm having problems building this.

It was missing compat.h from opencv, so I included it, but then building fails
because of:

make[3]: Entering directory
`/home/thiagoss/gst/head/gst-plugins-bad/ext/opencv'
  CC     libgstopencv_la-gstopencv.lo
cc1: warnings being treated as errors
In file included from gstcvcalchist.h:49,
                 from gstopencv.c:29:
/usr/include/opencv/cvcompat.h: In function ‘cvMinAreaRect’:
/usr/include/opencv/cvcompat.h:425: error: left-hand operand of comma
expression has no effect
/usr/include/opencv/cvcompat.h:425: error: left-hand operand of comma
expression has no effect
/usr/include/opencv/cvcompat.h:425: error: left-hand operand of comma
expression has no effect
/usr/include/opencv/cvcompat.h:425: error: statement with no effect
make[3]: *** [libgstopencv_la-gstopencv.lo] Error 1


The line it points to is:
CV_UNREFERENCED( (left, bottom, right, top) );

And finally, CV_UNREFERENCED is defined as:
#ifdef __cplusplus
    #define CV_UNREFERENCED(arg)
#else
    #define CV_UNREFERENCED(arg) arg
#endif


Need to think on how to solve this.

-- 
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