[Digikam-users] Error compiling digikam-1.0.0-beta5
Julien Narboux
jnarboux at narboux.fr
Fri Oct 9 10:02:15 BST 2009
Gilles,
It seems to have a .pc file now :
jnarboux at www:~/Bureau/liblqr-1-0.4.1$pkg-config --libs lqr-1
-llqr-1 -lglib-2.0
Julien
Gilles Caulier a écrit :
> Julien,
>
> Look like cmake find liblqr-1 do not use pkconfig info to detect right
> version of library
>
> http://lxr.kde.org/source/extragear/graphics/digikam/cmake/modules/FindLqr-1.cmake#49
>
> I remember that old version of liblqr do not have pkconfig. And now ?
>
> Gilles
>
> 2009/10/9 Julien Narboux <jnarboux at narboux.fr>:
>
>> Hi,
>>
>> This is a problem related to Liquid Rescale library. Which
>> system/distribution do you use ?
>> Can you give us the output of cmake ? it is supposed to detect if
>> liblqr is installed system wide, if not it uses an internal version of
>> liblqr shiped with digiKam.
>>
>> You should have liblqr 0.4.1.
>>
>> julien
>>
>> gerlos a écrit :
>>
>>> Hello everyone,
>>> Since digikam 1.0.0 beta3 I compiled digikam on my system (almost) without any problem. Today I downloaded the beta5 release and tried to compile it.
>>> cmake told me everything was OK, since I already have all the dependences, required and optional ones.
>>>
>>> The problem is that the build stopped on "content aware resizer" plugin with these messages:
>>>
>>> In file included from /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.cpp:25:
>>> /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.h:55: error: ‘LqrEnergyFuncBuiltinType’ has not been declared
>>> /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.h:55: error: ‘LQR_EF_GRAD_XABS’ was not declared in this scope
>>> /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.cpp:79: error: ‘LqrEnergyFuncBuiltinType’ has not been declared
>>> /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.cpp: In constructor ‘DigikamContentAwareResizingImagesPlugin::ContentAwareResizer::ContentAwareResizer(Digikam::DImg*, uint, uint, int, double, int, int, LqrResizeOrder, const QImage&, bool, QObject*)’:
>>> /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.cpp:100: error: ‘lqr_carver_set_preserve_input_image’ was not declared in this scope
>>> /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.cpp:118: error: ‘lqr_carver_set_energy_function_builtin’ was not declared in this scope
>>> /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.cpp: In member function ‘virtual void DigikamContentAwareResizingImagesPlugin::ContentAwareResizer::cancelFilter()’:
>>> /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.cpp:202: error: ‘lqr_carver_cancel’ was not declared in this scope
>>> /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.cpp: In member function ‘void DigikamContentAwareResizingImagesPlugin::ContentAwareResizer::buildSkinToneBias()’:
>>> /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.cpp:231: error: ‘lqr_carver_bias_add_xy’ was not declared in this scope
>>> /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.cpp: In member function ‘void DigikamContentAwareResizingImagesPlugin::ContentAwareResizer::buildBias(const QImage&)’:
>>> /home/gerlos/Download/digikam/digikam-1.0.0-beta5/imageplugins/contentawareresizing/contentawareresizer.cpp:253: error: ‘lqr_carver_bias_add_xy’ was not declared in this scope
>>> make[2]: *** [imageplugins/contentawareresizing/CMakeFiles/digikamimageplugin_contentawareresizing.dir/contentawareresizer.o] Error 1
>>> make[2]: Leaving directory `/home/gerlos/Download/digikam/digikam-1.0.0-beta5/build'
>>> make[1]: *** [imageplugins/contentawareresizing/CMakeFiles/digikamimageplugin_contentawareresizing.dir/all] Error 2
>>> make[1]: Leaving directory `/home/gerlos/Download/digikam/digikam-1.0.0-beta5/build'
>>> make: *** [all] Error 2
>>>
>>>
>>> Where's the problem? What should I do to correct it? Let me know if you need more information.
>>>
>>> Thanks in advance for any help.
>>>
>>> regards
>>> gerlos
>>>
>>>
>>>
>>>
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
More information about the Digikam-users
mailing list