| Summary: | build failure with opencv4-4.2.0 | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | tjbugs |
| Component: | Faces-Recognition | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, metzpinguin, minhnghiaduong997 |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 7.0.0 | |
| Sentry Crash Report: | |||
| Attachments: | full compile log | ||
Digikam-7.0.0-beta2 compiles fine here with OpenCV-4.2.0. https://invent.kde.org/kde/digikam/commit/cff33fbc9c7c69f92be990cef0f19e63ac1f7654 Maik |
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; | ^~~