Bug#841411: libkf5kface: FTBFS: error with opencv 3.1
Hi!
2016-10-22 17:53 GMT+09:00 Maximiliano Curia <maxy@debian.org>:
> ¡Hola Nobuhiro!
>
> El 2016-10-22 a las 17:22 +0900, Nobuhiro Iwamatsu escribió:
>>
>> The contrib module does not provides by opencv 3.1, this module obsoleted.
>> We need to update CMakeLists.txt of libkf5kface and use
>> "-DENABLE_OPENCV3=ON" to flag for cmake.
>
>
> Ah, good point.
>
>> CMakeLists.txt :
>> 82 if(ENABLE_OPENCV3) 83 84 set(OPENCV_MIN_VERSION "3.0.0") 85
>> DETECT_OPENCV(${OPENCV_MIN_VERSION} core face highgui objdetect imgproc)
>
>
> This uses the opencv_face module, I guess this mudule used to be part of the
> contrib one.
>
> Anyway, the face module is not currently included in the opencv 3.1
> packages.
>
> Could you add it?
Thanks for your pointing.
I worked about this on with-contrib branch, but I think this work too
late about transiton.
https://anonscm.debian.org/cgit/debian-science/packages/opencv.git/log/?h=with-contrib
>
>> 87 if(${OpenCV_FOUND}) 88 if(${OpenCV_VERSION} VERSION_LESS
>> 3.0.0) 89 message(STATUS "ENABLE_OPENCV3 option is enabled and
>> OpenCV < 3.0.0 have been found. Disabled ENABLE_OPENCV3") 90
>> set(OpenCV_FOUND FALSE) 91 endif() 92 endif() 93 94 else()
>
>
> Happy hacking,
> --
> "If you optimize everything, you will always be unhappy."
> -- Donald Knuth
>
> Saludos /\/\ /\ >< `/
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
Reply to: