[vlc-devel] [PATCH] configure: Adjust OpenCV version

Rémi Denis-Courmont remi at remlab.net
Tue May 15 19:21:21 CEST 2018


Le sunnuntaina 6. toukokuuta 2018, 18.54.26 EEST Marvin Scholz a écrit :
> OpenCV 3.x does not support the legacy C interface anymore that VLC is
> using, see https://github.com/opencv/opencv/issues/10963
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index e507d31694..84fe9a94f6 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1849,7 +1849,7 @@ PKG_ENABLE_MODULES_VLC([BLURAY], [libbluray],
> [libbluray >= 0.6.2], (libbluray f dnl
>  dnl  OpenCV wrapper and example filters
>  dnl
> -PKG_ENABLE_MODULES_VLC([OPENCV], [opencv_example opencv_wrapper], [opencv >
> 2.0], (OpenCV (computer vision) filter), [auto])
> +PKG_ENABLE_MODULES_VLC([OPENCV], [opencv_example opencv_wrapper], [opencv
> > 2.0 opencv < 3.0], (OpenCV (computer vision) filter), [auto])

This will pull the flags twice though. Use PKG_CHECK_EXISTS.


-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list