[Bug 704760] opencv: disparity-map calculation element
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Aug 22 06:44:26 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=704760
GStreamer | gst-plugins-bad | 1.x
--- Comment #23 from Miguel (elmiguelao) Casas-Sanchez <miguelecasassanchez at gmail.com> 2013-08-22 13:42:33 UTC ---
(In reply to comment #22)
> Does not compile here after applying all patches (also can you make a combined
> patch with "git format-patch -1" after committing everything locally?):
>
>
> CXX libgstopencv_la-MotionCells.lo
> In file included from gstdisparity.cpp:125:0:
> gstdisparity.h:96:3: error: 'CvStereoGCState' does not name a type
> CvStereoGCState *sgc; /* This is a C implementation */
> ^
> gstdisparity.cpp: In function 'void gst_disparity_init(GstDisparity*)':
> gstdisparity.cpp:283:31: error: 'g_mutex_new' was not declared in this scope
> filter->lock = g_mutex_new ();
> ^
> gstdisparity.cpp:284:30: error: 'g_cond_new' was not declared in this scope
> filter->cond = g_cond_new ();
> ^
> gstdisparity.cpp: In function 'void gst_disparity_finalize(GObject*)':
> gstdisparity.cpp:470:28: error: 'g_cond_free' was not declared in this scope
> g_cond_free (filter->cond);
> ^
> gstdisparity.cpp:471:29: error: 'g_mutex_free' was not declared in this scope
> g_mutex_free (filter->lock);
> ^
> gstdisparity.cpp: In function 'int initialise_sbm(GstDisparity*)':
> gstdisparity.cpp:687:11: error: 'GstDisparity' has no member named 'sgc'
> filter->sgc = cvCreateStereoGCState (16, 2);
> ^
> gstdisparity.cpp:687:45: error: 'cvCreateStereoGCState' was not declared in
> this scope
> filter->sgc = cvCreateStereoGCState (16, 2);
> ^
> gstdisparity.cpp:730:11: error: 'GstDisparity' has no member named 'sgc'
> filter->sgc->Ithreshold = 5;
> ^
> gstdisparity.cpp:731:11: error: 'GstDisparity' has no member named 'sgc'
> filter->sgc->interactionRadius = 1;
> ^
> gstdisparity.cpp:732:11: error: 'GstDisparity' has no member named 'sgc'
> filter->sgc->occlusionCost = 10000;
> ^
> gstdisparity.cpp:733:11: error: 'GstDisparity' has no member named 'sgc'
> filter->sgc->minDisparity = 0;
> ^
> gstdisparity.cpp:734:11: error: 'GstDisparity' has no member named 'sgc'
> filter->sgc->numberOfDisparities = 16; /* Coming from constructor too
> */
> ^
> gstdisparity.cpp:735:11: error: 'GstDisparity' has no member named 'sgc'
> filter->sgc->maxIters = 1; /* Coming from constructor too */
> ^
> gstdisparity.cpp: In function 'int run_sgc_iteration(GstDisparity*)':
> gstdisparity.cpp:775:44: error: 'GstDisparity' has no member named 'sgc'
> filter->cvGray_depth_map1_2, filter->sgc, 0);
> ^
> gstdisparity.cpp:775:50: error: 'cvFindStereoCorrespondenceGC' was not declared
> in this scope
> filter->cvGray_depth_map1_2, filter->sgc, 0);
> ^
Perhaps OpenCV has no legacy enabled and then it fails to find CvStereoGCState.
Puzzles me that it complains about g_mutex_new() etc ??
--
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