[FFmpeg-user] problem build "oldabi" under Feodra 15

Stefano Sabatini stefano.sabatini-lala at poste.it
Mon Jun 13 10:50:43 CEST 2011


On date Monday 2011-06-13 02:10:46 +0200, Reindl Harald encoded:
> hm - with "oldabi" i get this error
> 
> /home/builduser/rpmbuild/BUILD/ffmpeg-20110613/libavfilter/vf_libopencv.c:29:28: fatal error: opencv/cxtypes.h: No
> such file or directory

Try to apply this patch (already applied to git master):

commit f1b3f33d48b366dd7b3b915b4de90d9ad4c4ae39
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Fri May 20 11:36:16 2011 +0200

    vf_libopencv: prefer opencv/cxcore.h over cxtypes.h
    
    Require the presence of opencv/cxcore.h in place of opencv/cxtypes.h,
    which has been removed. Fix compilation with libopencv > 2.1.0.
    
    Fix trac issue #221.

diff --git a/libavfilter/vf_libopencv.c b/libavfilter/vf_libopencv.c
index 55e0a7f..b789c8e 100644
--- a/libavfilter/vf_libopencv.c
+++ b/libavfilter/vf_libopencv.c
@@ -26,7 +26,7 @@
 /* #define DEBUG */
 
 #include <opencv/cv.h>
-#include <opencv/cxtypes.h>
+#include <opencv/cxcore.h>
 #include "libavutil/avstring.h"
 #include "libavutil/file.h"
 #include "avfilter.h"
-- 
ffmpeg-user random tip #6
Please follow netiquette rules while posting to ffmpeg-user:
http://linux.sgms-centre.com/misc/netiquette.php


More information about the ffmpeg-user mailing list