Bug 174615 - Digikam 0.10 compile error
Summary: Digikam 0.10 compile error
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-08 12:04 UTC by Michael
Modified: 2017-08-19 20:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2008-11-08 12:04:26 UTC
Version:           Current 0.10 SVN (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

Here are the last lines of the output:

[  0%] Building CXX object digikam/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawpostprocessing.o                                    
In file included from /src/digikam/graphics/digikam/utilities/imageeditor/editor/editorwindow.cpp:107:                                                          
/src/digikam/graphics/digikam/digikam/../utilities/imageeditor/tools/imageprint.h:45:2: warning: #warning "TODO: KPrinter is disabled for KDE4.0";              
/src/digikam/graphics/digikam/utilities/imageeditor/editor/editorwindow.cpp:607:2: warning: #warning "TODO: KPrinter is disabled for KDE4.0";                   
[  0%] Building CXX object digikam/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawimport.o                                            
[  0%] Building CXX object digikam/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawpreview.o                                           
[  0%] Building CXX object digikam/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawsettingsbox.o                                       
Linking CXX shared library ../../lib/libdigikamcore.so                          
CMakeFiles/digikamcore.dir/__/libs/dialogs/libsinfodlg.o: In function `LibsInfoDlg':                                                                            
/src/digikam/graphics/digikam/libs/dialogs/libsinfodlg.cpp:186: undefined reference to `KExiv2Iface::KExiv2::supportMetadataWritting(QString const&)'           
/src/digikam/graphics/digikam/libs/dialogs/libsinfodlg.cpp:188: undefined reference to `KExiv2Iface::KExiv2::supportMetadataWritting(QString const&)'
/src/digikam/graphics/digikam/libs/dialogs/libsinfodlg.cpp:190: undefined reference to `KExiv2Iface::KExiv2::supportMetadataWritting(QString const&)'
/src/digikam/graphics/digikam/libs/dialogs/libsinfodlg.cpp:192: undefined reference to `KExiv2Iface::KExiv2::supportMetadataWritting(QString const&)'
/src/digikam/graphics/digikam/libs/dialogs/libsinfodlg.cpp:186: undefined reference to `KExiv2Iface::KExiv2::supportMetadataWritting(QString const&)'
CMakeFiles/digikamcore.dir/__/libs/dialogs/libsinfodlg.o:/src/digikam/graphics/digikam/libs/dialogs/libsinfodlg.cpp:188: more undefined references to `KExiv2Iface::KExiv2::supportMetadataWritting(QString const&)' follow
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [lib/libdigikamcore.so.1.0.0] Fehler 1
make[1]: *** [digikam/digikam/CMakeFiles/digikamcore.dir/all] Fehler 2
make: *** [all] Fehler 2
[  0%] Built target svnversion
Linking CXX shared library ../../lib/libdigikamcore.so
CMakeFiles/digikamcore.dir/__/libs/dialogs/libsinfodlg.o: In function `LibsInfoDlg':
/src/digikam/graphics/digikam/libs/dialogs/libsinfodlg.cpp:186: undefined reference to `KExiv2Iface::KExiv2::supportMetadataWritting(QString const&)'
/src/digikam/graphics/digikam/libs/dialogs/libsinfodlg.cpp:188: undefined reference to `KExiv2Iface::KExiv2::supportMetadataWritting(QString const&)'
/src/digikam/graphics/digikam/libs/dialogs/libsinfodlg.cpp:190: undefined reference to `KExiv2Iface::KExiv2::supportMetadataWritting(QString const&)'
/src/digikam/graphics/digikam/libs/dialogs/libsinfodlg.cpp:192: undefined reference to `KExiv2Iface::KExiv2::supportMetadataWritting(QString const&)'
/src/digikam/graphics/digikam/libs/dialogs/libsinfodlg.cpp:186: undefined reference to `KExiv2Iface::KExiv2::supportMetadataWritting(QString const&)'
CMakeFiles/digikamcore.dir/__/libs/dialogs/libsinfodlg.o:/src/digikam/graphics/digikam/libs/dialogs/libsinfodlg.cpp:188: more undefined references to `KExiv2Iface::KExiv2::supportMetadataWritting(QString const&)' follow
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [lib/libdigikamcore.so.1.0.0] Fehler 1
make[1]: *** [digikam/digikam/CMakeFiles/digikamcore.dir/all] Fehler 2
make: *** [all] Fehler 2

Hope, that helps.
Best, mike
Comment 1 caulier.gilles 2008-11-08 12:18:37 UTC
To compile 0.10.0 version, you need to use libkexiv2 and libkdcraw from svn trunk (released with KDE 4.2)

More info are available in announce:

http://www.digikam.org/drupal/node/381

Gilles Caulier
Comment 2 Michael 2008-11-08 12:39:20 UTC
Thank you very much!!!
Comment 3 Mark Purcell 2008-11-17 10:51:37 UTC
> > Gilles shouldn't be stop before building though? I mean after testing
> > if libekexiv2 is present and with the right version?

> yes, it must. i will trying using only kdegraphics/libs from KDE4.1 branch
> 
> Gilles

Gilles,

Did your tests confirm that it 0.10.0beta5 tries and fails to build with KDE4.1.2

Mark
Comment 4 caulier.gilles 2008-11-17 10:57:17 UTC
Yes. Has i have always said in release announces, you mist to _compile_ and _link_ digiKam (and kipi-plugins) with kdegraphics/libs from trunk.

Severals improvements have be done in trunk and cannot be backported to KDE 4.1 branch to preserve binary compatibility.

Gilles Caulier