[Bug 698627] New: opencv: doesn't build with opencv 2.4.5

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 22 17:03:01 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=698627
  GStreamer | gst-plugins-bad | 1.x

           Summary: opencv: doesn't build with opencv 2.4.5
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: todd at agulnick.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


After relaxing the version check in configure.ac to allow building for 2.4.5,
there are two problems:

1. There are 10 instances of redundant declaration warnings.
2. The final link step fails to resolve any opencv-provided references. That
seems to be because the libtool link command generates the wrong command-line:
instead of providing -l<libname> for the opencv libraries, it lists each one
without a command-line switch as (e.g.) libopencv_calib3d.dylib, which libtool
happily ignores. Not sure whether this is an artifact of building on OSX or
whether opencv's pkgconfig/opencv.pc changed in this latest update.

By manually fixing up these errors, I was able to compile and link the plugin.

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