Bug 453992 - Build error in digiKam Setup
Summary: Build error in digiKam Setup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (other bugs)
Version First Reported In: 8.0.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-18 15:37 UTC by maderios
Modified: 2022-05-18 19:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.0.0
Sentry Crash Report:


Attachments
build error (364.65 KB, text/plain)
2022-05-18 15:37 UTC, maderios
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maderios 2022-05-18 15:37:07 UTC
Created attachment 148959 [details]
build error

Hi
I got build error  with showfoto.  See attachment
May be from qtav ? But mediaplayer is disabled...
Arch system
KDE Frameworks Version:  5.94
Qt Version: 5.15.4
Cmake 3.23.1

    -DBUILD_TESTING=OFF \
    -DBUILD_WITH_CCACHE=ON \
    -DENABLE_KFILEMETADATASUPPORT=ON \
    -DENABLE_MEDIAPLAYER=OFF \
    -DENABLE_AKONADICONTACTSUPPORT=OFF \
    -DENABLE_MYSQLSUPPORT=ON \
    -DENABLE_APPSTYLES=ON \
    -DENABLE_QWEBENGINE=ON

[ 92%] [32mBuilding CXX object core/dplugins/generic/tools/panorama/CMakeFiles/Generic_Panorama_Plugin.dir/wizard/panowizard.cpp.o[0m
[ 92%] [32mBuilding CXX object core/dplugins/generic/tools/panorama/CMakeFiles/Generic_Panorama_Plugin.dir/panoramaplugin.cpp.o[0m
collect2: error: ld returned 1 exit status
make[2]: *** [core/app/CMakeFiles/digikamgui.dir/build.make:1149: bin/libdigikamgui.so.8.0.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:8912: core/app/CMakeFiles/digikamgui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 92%] [32m[1mLinking CXX shared module ../../../../../bin/Generic_Panorama_Plugin.so[0m
[ 92%] Built target Generic_Panorama_Plugin
[ 92%] [32m[1mLinking CXX executable ../../bin/showfoto[0m
[ 92%] Built target showfoto
make: *** [Makefile:136: all] Error 2
Comment 1 Maik Qualmann 2022-05-18 18:06:22 UTC
Git commit 662021ecda1aa2cfe6f6b2496ecbd4855f52c3b3 by Maik Qualmann.
Committed on 18/05/2022 at 18:05.
Pushed by mqualmann into branch 'master'.

this should fix compiling without media player support

M  +9    -1    core/utilities/setup/CMakeLists.txt
M  +18   -1    core/utilities/setup/setup.cpp
M  +2    -0    core/utilities/setup/setup.h

https://invent.kde.org/graphics/digikam/commit/662021ecda1aa2cfe6f6b2496ecbd4855f52c3b3
Comment 2 maderios 2022-05-18 19:50:41 UTC
It works. Thanks :)