OpenCV 3.0安装错误



尝试在Ubuntu 16.04机器上安装OpenCV 3.0时,我得到以下错误:

/home/isenses/Documents/opencv-3.0.0-rc1/modules/videoio/src/cap_gstreamer.cpp:53:21: fatal error: gst/gst.h: No such file or directory
compilation terminated
modules/videoio/CMakeFiles/opencv_videoio.dir/build.make:182: recipe for target 'modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_gstreamer.cpp.o' failed
make[2]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_gstreamer.cpp.o] Error 1
CMakeFiles/Makefile2:4295: recipe for target 'modules/videoio/CMakeFiles/opencv_videoio.dir/all' failed
make[1]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

请建议。

您缺少gstreamer include。你必须先安装GStreamer SDK

从这里

相关内容

  • 没有找到相关文章