[ 1%] [ 1%] [ 1%] [ 1%] Built target opencv_hal_pch_dephelp
Built target opencv_core_pch_dephelp
Built target opencv_ts_pch_dephelp
Built target opencv_imgproc_pch_d
I came across the same problem while building opencv 3.3
. I found out that the configuration was a mix of gstreamer 0.10
and gstreamer 1.0
. So, I fixed the error by removing the older version of gstreamer
.
sudo apt-get remove libgstreamer0.10-dev
Hope it helps.
First try to fix errors by installing libgstreamer-plugins-base1.0-dev
.
However, if you still get the errors, I suggest you build OpenCV without gstreamer support. i.e set WITH_GSTREAMER=OFF
.