(Solved) Fix opencv compilation in vlc-3.0.0 for archlinux
Posted: 11 Feb 2015 20:27
vlc-3.0-opencv.patch:
also add
to your compiler flags.
Code: Select all
diff --git a/modules/video_filter/opencv_wrapper.c b/modules/video_filter/opencv_wrapper.c
index 0ca54a3..ce0d900 100644
--- a/modules/video_filter/opencv_wrapper.c
+++ b/modules/video_filter/opencv_wrapper.c
@@ -39,8 +39,8 @@
#include <vlc_image.h>
#include "filter_picture.h"
-#include <cxcore.h>
-#include <cv.h>
+#include <opencv/cxcore.h>
+#include <opencv/cv.h>
/*****************************************************************************
* Local prototypes
Code: Select all
export OPENCV_CFLAGS='-I /usr/include/opencv'
export OPENCV_LIBS=`pkg-config --libs opencv`