linking failure with digiKam and nmake

Gilles Caulier caulier.gilles at
Fri Sep 3 13:23:40 CEST 2010

2010/9/3 Peter Kümmel <syntheticpp at>:
> On 03.09.2010 12:59, Gilles Caulier wrote:
>> I set  -DCMAKE_BUILD_TYPE=release option with CMake. Now there is no
>> linking warnings on the console :
>> [ 45%] Building RC object digikam/digikam/CMakeFiles/digikam.dir/digikam.res
>> Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
>> Copyright (C) Microsoft Corporation.  All rights reserved.
>> Linking CXX executable ..\..\bin\digikam.exe
>> qtmain.lib(qtmain_win.obj) : .netmodule ou module MSIL compilÚ avec
>> /GL trouvÚá; redÚmarrage de l'Údition de liens avec /LTCGá; ajou
>> tez /LTCG Ó la ligne de commande de l'Údition de liens pour amÚliorer
>> les performances de l'╔diteur de liens
>>    CrÚation de la bibliothÞque ..\..\bin\digikam.lib et de l'objet
>> ..\..\bin\digikam.exp
>> GÚnÚration de code en cours
>> Fin de la gÚnÚration du code
>> [ 45%] Built target digikam
>> Generating digikamalbums.moc
>> [ 45%] Built target kio_digikamalbums_automoc
>> [ 45%] Building CXX object
>> digikam/kioslave/CMakeFiles/kio_digikamalbums.dir/kio_digikamalbums_automoc.obj
>> kio_digikamalbums_automoc.cpp
>> But the goal is to have a debug version of digiKam. So i need to use
>> -DCMAKE_BUILD_TYPE=debugfull here.
> Debug should do it.You could also try RelWithDebInfo.
> Then you don't have to find the reason why it mixes debug and release.
> But generally this should be fixed. Have you build ALL libs you link
> against also as debug version? If not, then this could be the reason
> for the mismatch. Using msvc the only way is "all or nothing".

I build all compiled libs myself with fulldebug : Exiv2, libkdcraw,
libkipi, libkexiv2.

For the rest of KDE4 and shared libs, i don't know because i take all
from KDE-Windows installer. I supose that all packages are compiled
with debug symbol no ?

>> I will take a look with this option if linking give a warnings.
> I assume you get the same error.



More information about the Kde-windows mailing list