Build failure on Debian Testing

Gilles Caulier caulier.gilles at gmail.com
Sat Aug 26 21:13:45 BST 2023


Fixed with this commit :
https://invent.kde.org/graphics/digikam/-/commit/d33d689a6d1c833c37d1a95c8dc52c864d51a5f3

Best

Gilles Caulier

Le ven. 14 juil. 2023 à 23:41, Andrew Goodbody
<ajg02 at elfringham.co.uk> a écrit :
>
> I just tried to compile latest git HEAD and got the following failure.
>
> In file included from /usr/include/jasper/jas_version.h:71,
>                   from
> /home/ag/src/dk6/core/libs/dialogs/libsinfodlg.cpp:99:
> /usr/include/opencv4/opencv2/core/hal/interface.h:51:26: error:
> duplicate ‘unsigned’
>     51 |    typedef unsigned char uchar;
>        |                          ^~~~~
> In file included from /usr/include/opencv4/opencv2/core/cvdef.h:190,
>                   from /usr/include/opencv4/opencv2/core.hpp:52,
>                   from
> /home/ag/src/dk6/build/core/app/utils/digikam_opencv.h:46,
>                   from
> /home/ag/src/dk6/core/libs/dialogs/libsinfodlg.cpp:135:
> /usr/include/opencv4/opencv2/core/hal/interface.h:51:21: error: multiple
> types in one declaration
>     51 |    typedef unsigned char uchar;
>        |                     ^~~~
> /usr/include/opencv4/opencv2/core/hal/interface.h:51:26: error:
> declaration does not declare anything [-fpermissive]
>     51 |    typedef unsigned char uchar;
>        |                          ^~~~~
> make[2]: ***
> [core/libs/dialogs/CMakeFiles/core_digikamdialogs_obj.dir/build.make:216:
> core/libs/dialogs/CMakeFiles/core_digikamdialogs_obj.dir/libsinfodlg.cpp.o]
> Error 1
> make[1]: *** [CMakeFiles/Makefile2:9667:
> core/libs/dialogs/CMakeFiles/core_digikamdialogs_obj.dir/all] Error 2
> make: *** [Makefile:146: all] Error 2


More information about the Digikam-devel mailing list