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 -- "Life is pretty simple: You do some stuff. Most fails. Some works. You do more of what works. If it works big, others quickly copy it. Then you do something else. The trick is the doing something else." < http://gerlos.altervista.org > gerlos +- - - > gnu/linux registred user #311588 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Sound like you have liblqr header installed on your system and it's
the wrong version. Which one ? unstall liblqr header and re-run cmake. digiKam will use an internal version. Gilles Caulier 2009/10/9 gerlos <[hidden email]>: > 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 > > > -- > "Life is pretty simple: You do some stuff. Most fails. Some works. You do more > of what works. If it works big, others quickly copy it. Then you do something > else. The trick is the doing something else." > < http://gerlos.altervista.org > > gerlos +- - - > gnu/linux registred user #311588 > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users > Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by gerlos
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 [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
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 <[hidden email]>: > 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 > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users > Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Gilles,
It seems to have a .pc file now : jnarboux@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 <[hidden email]>: > >> 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 >> [hidden email] >> https://mail.kde.org/mailman/listinfo/digikam-users >> >> > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users > _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
if PC file exist, liblqr-1 cmake find script must be updated in this way
Look this one as exemple, to detect liblensfun : http://lxr.kde.org/source/extragear/graphics/digikam/cmake/modules/FindLensFun.cmake#25 Gilles 2009/10/9 Julien Narboux <[hidden email]>: > Gilles, > > It seems to have a .pc file now : > > jnarboux@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 <[hidden email]>: >> >>> 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 >>> [hidden email] >>> https://mail.kde.org/mailman/listinfo/digikam-users >>> >>> >> _______________________________________________ >> Digikam-users mailing list >> [hidden email] >> https://mail.kde.org/mailman/listinfo/digikam-users >> > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users > Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
but look line 24, it already use pkgconfig to find the paths ?
http://lxr.kde.org/source/extragear/graphics/digikam/cmake/modules/FindLqr-1.cmake#24 to check the version number if we do it using pkg-config also it will not work under windows, isn't it ? mybe I can just update the source to test a function which exists only in 0.4.1 ? Julien Gilles Caulier a écrit : > if PC file exist, liblqr-1 cmake find script must be updated in this way > > Look this one as exemple, to detect liblensfun : > > http://lxr.kde.org/source/extragear/graphics/digikam/cmake/modules/FindLensFun.cmake#25 > > Gilles > > 2009/10/9 Julien Narboux <[hidden email]>: > >> Gilles, >> >> It seems to have a .pc file now : >> >> jnarboux@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 <[hidden email]>: >>> >>> >>>> 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 >>>> [hidden email] >>>> https://mail.kde.org/mailman/listinfo/digikam-users >>>> >>>> >>>> >>> _______________________________________________ >>> Digikam-users mailing list >>> [hidden email] >>> https://mail.kde.org/mailman/listinfo/digikam-users >>> >>> >> _______________________________________________ >> Digikam-users mailing list >> [hidden email] >> https://mail.kde.org/mailman/listinfo/digikam-users >> >> > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users > _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
2009/10/9 Julien Narboux <[hidden email]>:
> but look line 24, it already use pkgconfig to find the paths ? > yes, sorry for the noise... > http://lxr.kde.org/source/extragear/graphics/digikam/cmake/modules/FindLqr-1.cmake#24 > > to check the version number if we do it using pkg-config also it will > not work under windows, isn't it ? yes, linux only... > > mybe I can just update the source to test a function which exists only > in 0.4.1 ? yes Gilles _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
>> mybe I can just update the source to test a function which exists only >> in 0.4.1 ? >> > > in fact the existing check is for 0.4.0 and it is sufficient... So i do not understand the problem. Gerlos, can you give use the output of cmake, your system version, which liblqr packqage are installed ? did you install it by hand ? Julien _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Gilles Caulier-4
On venerdì 09 ottobre 2009 08:35:21, Gilles Caulier wrote:
> Sound like you have liblqr header installed on your system and it's > the wrong version. Which one ? > > unstall liblqr header and re-run cmake. digiKam will use an internal version. Maybe it was my fault. I tried again today and it worked. I don't know what's happened, but this time the build went fine. Sorry for the silly question. regards gerlos -- "Life is pretty simple: You do some stuff. Most fails. Some works. You do more of what works. If it works big, others quickly copy it. Then you do something else. The trick is the doing something else." < http://gerlos.altervista.org > gerlos +- - - > gnu/linux registred user #311588 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Could be the result of some badly cached object files.
Maybe a "sudo make uninstall, make clean; rm CMakeCache.txt; cmake ." would have solved the problem? Andi On Saturday 10 October 2009 00:54:57 gerlos wrote: > On venerdì 09 ottobre 2009 08:35:21, Gilles Caulier wrote: > > Sound like you have liblqr header installed on your system and it's > > the wrong version. Which one ? > > > > unstall liblqr header and re-run cmake. digiKam will use an internal > > version. > > Maybe it was my fault. I tried again today and it worked. I don't know > what's happened, but this time the build went fine. Sorry for the silly > question. > > regards > gerlos > Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |