Bug 416984 - build failure with opencv4-4.2.0
Summary: build failure with opencv4-4.2.0
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Recognition (other bugs)
Version First Reported In: 6.4.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-31 13:24 UTC by tjbugs
Modified: 2020-01-31 20:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0
Sentry Crash Report:


Attachments
full compile log (12.49 KB, application/x-bzip)
2020-01-31 13:24 UTC, tjbugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tjbugs 2020-01-31 13:24:01 UTC
Created attachment 125570 [details]
full compile log

SUMMARY
cc1plus: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
In file included from ../core/libs/facesengine/recognition/dlib-dnn/dnnface/image_transforms/assign_image.h:31,
                 from ../core/libs/facesengine/facedb/facedb.cpp:45:
../core/libs/facesengine/recognition/dlib-dnn/dnnface/dnn_base/cv_image.h: In instantiation of 'cv_image<pixel_type>::cv_image(cv::Mat) [with pixel_type = rgb_pixel]':
../core/libs/facesengine/recognition/dlib-dnn/dnnface/dnn_face.h:144:54:   required from here
../core/libs/facesengine/recognition/dlib-dnn/dnnface/dnn_base/cv_image.h:55:25: error: conversion from 'const cv::Mat' to non-scalar type 'IplImage' {aka '_IplImage'} requested
   55 |         IplImage temp = img;
      |                         ^~~
Comment 1 Maik Qualmann 2020-01-31 20:21:11 UTC
Digikam-7.0.0-beta2 compiles fine here with OpenCV-4.2.0.

https://invent.kde.org/kde/digikam/commit/cff33fbc9c7c69f92be990cef0f19e63ac1f7654

Maik