[Digikam-users] DK 4.2 compilation error
maderios
maderios at gmail.com
Mon Aug 18 14:45:53 BST 2014
On 08/18/2014 01:14 PM, Gilles Caulier wrote:
>
> Libimagemagick devel package is missing.
>
> Please read REAME file from kipiplugins and digiKam to solve all
> dependencies before to compile...
I installed all these packages but now it remains some errors I don't
understand:
All libopencv libs are installed but I get
undefined reference to `cvFillImage'
CMakeFiles/kipiplugin_removeredeyes.dir/detection/locators/haarclassifier/haarclassifierlocator.cpp.o:
In function `findBlobs':
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/removeredeyes/detection/locators/haarclassifier/haarclassifierlocator.cpp:213:
undefined reference to `cvFillImage'
CMakeFiles/kipiplugin_removeredeyes.dir/detection/locators/haarclassifier/haarclassifierlocator.cpp.o:
In function `allocateBuffers':
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/removeredeyes/detection/locators/haarclassifier/haarclassifierlocator.cpp:238:
undefined reference to `cvFillImage'
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/removeredeyes/detection/locators/haarclassifier/haarclassifierlocator.cpp:239:
undefined reference to `cvFillImage'
collect2: error: ld returned 1 exit status
extra/kipi-plugins/removeredeyes/CMakeFiles/kipiplugin_removeredeyes.dir/build.make:676:
recipe for target 'lib/kipiplugin_removeredeyes.so' failed
make[2]: *** [lib/kipiplugin_removeredeyes.so] Error 1
CMakeFiles/Makefile2:8657: recipe for target
'extra/kipi-plugins/removeredeyes/CMakeFiles/kipiplugin_removeredeyes.dir/all'
failed
make[1]: ***
[extra/kipi-plugins/removeredeyes/CMakeFiles/kipiplugin_removeredeyes.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....
[ 78%] Building CXX object
extra/kipi-plugins/dropbox/CMakeFiles/kipiplugin_dropbox.dir/plugin_dropbox.cpp.o
[ 78%] [ 78%] Linking CXX shared module ../../../lib/kipiplugin_facebook.so
Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/effectplugins/blur/BlurPhotoEffect.cpp.o
Building CXX object
extra/kipi-plugins/googledrive/CMakeFiles/kipiplugin_googledrive.dir/gdwidget.cpp.o
[ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/itemview/ditemdelegate.cpp.o
[ 78%] Built target kipiplugin_imgurexport
[ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/itemview/imagedelegateoverlay.cpp.o
[ 78%] Building CXX object
extra/kipi-plugins/dropbox/CMakeFiles/kipiplugin_dropbox.dir/dbwidget.cpp.o
[ 78%] Built target kipiplugin_facebook
[ 78%] [ 78%] Building CXX object
extra/kipi-plugins/googledrive/CMakeFiles/kipiplugin_googledrive.dir/gdwindow.cpp.o
Building CXX object
extra/kipi-plugins/dropbox/CMakeFiles/kipiplugin_dropbox.dir/dbwindow.cpp.o
[ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/itemview/itemviewhoverbutton.cpp.o
[ 78%] [ 78%] Building CXX object
extra/kipi-plugins/dropbox/CMakeFiles/kipiplugin_dropbox.dir/dbalbum.cpp.o
Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/effectplugins/colorize/ColorizePhotoEffect.cpp.o
[ 78%] Building CXX object
extra/kipi-plugins/googledrive/CMakeFiles/kipiplugin_googledrive.dir/gdalbum.cpp.o
[ 78%] Building CXX object
extra/kipi-plugins/dropbox/CMakeFiles/kipiplugin_dropbox.dir/dbtalker.cpp.o
[ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/itemview/itemviewimagedelegate.cpp.o
[ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/itemview/itemviewtooltip.cpp.o
[ 78%] [ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/widgets/imageguidewidget.cpp.o
Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/effectplugins/grayscale/GrayscalePhotoEffect.cpp.o
[ 78%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/effectplugins/sepia/SepiaPhotoEffect.cpp.o
[ 78%] Building CXX object
extra/kipi-plugins/googledrive/CMakeFiles/kipiplugin_googledrive.dir/gdtalker.cpp.o
[ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/widgets/imagepreviewitem.cpp.o
[ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/widgets/previewtoolbar.cpp.o
[ 78%] [ 78%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/effectplugins/negative/NegativePhotoEffect.cpp.o
Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/effects/AbstractPhotoEffectInterface.cpp.o
[ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/widgets/previewlist.cpp.o
Linking CXX shared module ../../../lib/kipiplugin_dropbox.so
[ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/widgets/imageregionwidget.cpp.o
[ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/widgets/imageregionitem.cpp.o
[ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/widgets/rubberitem.cpp.o
[ 78%] Built target kipiplugin_dropbox
[ 78%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/widgets/canvas.cpp.o
[ 78%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/effects/PhotoEffectChangeListener.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/iccprofiles/iccpreviewwidget.cpp.o
[ 79%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/effects/PhotoEffectsGroup.cpp.o
Linking CXX shared module ../../../lib/kipiplugin_googledrive.so
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/iccprofiles/iccprofilewidget.cpp.o
[ 79%] [ 79%] Built target kipiplugin_googledrive
Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/iccprofiles/cietonguewidget.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/iccprofiles/iccprofilescombobox.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/metadata/mdkeylistviewitem.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/metadata/metadatalistview.cpp.o
[ 79%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/effects/PhotoEffectsLoader.cpp.o
[ 79%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/threads/AbstractPhotoItemLoader.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/metadata/metadatalistviewitem.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/metadata/metadatawidget.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/metadata/metadataselector.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/metadata/metadatapanel.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/metadata/iptcwidget.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/metadata/exifwidget.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/metadata/makernotewidget.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/metadata/xmpwidget.cpp.o
[ 79%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/threads/CanvasLoadingThread.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/dialogs/dprogressdlg.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/dialogs/dbusydlg.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/dialogs/filesaveoptionsdlg.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/dialogs/iccprofileinfodlg.cpp.o
[ 79%] [ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/dialogs/imagedialog.cpp.o
Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/dialogs/infodlg.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/dialogs/libsinfodlg.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/dialogs/rawcameradlg.cpp.o
[ 79%] [ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/dialogs/triplechoicedialog.cpp.o
Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/threads/CanvasSavingThread.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/imageproperties/imagepropertiessidebar.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/imageproperties/imagepropertiestab.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/imageproperties/imagepropertiesmetadatatab.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/imageproperties/imagepropertiescolorstab.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/imageproperties/imagepropertiesgpstab.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/imageproperties/imagegpsmodelhelper.cpp.o
[ 79%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/threads/ImageLoadingThread.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/graphicsview/clickdragreleaseitem.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/graphicsview/dimgchilditem.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/graphicsview/dimgpreviewitem.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/graphicsview/regionframeitem.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/graphicsview/graphicsdimgitem.cpp.o
[ 79%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/graphicsview/graphicsdimgview.cpp.o
[ 79%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/threads/PhotoItemLoader.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/graphicsview/imagezoomsettings.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/graphicsview/itemvisibilitycontroller.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/graphicsview/previewlayout.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/libs/models/categorizeditemmodel.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/slideshow/toolbar.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/slideshow/slideshow.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/slideshow/slideshowsettings.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/core/undocache.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/core/undoaction.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/core/undomanager.cpp.o
[ 80%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/threads/SceneBackgroundLoader.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/core/editorcore.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/core/iccpostloadingmanager.cpp.o
[ 80%] [ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/dialogs/colorcorrectiondlg.cpp.o
Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/dialogs/softproofdialog.cpp.o
[ 80%] [ 80%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/threads/SceneBorderLoader.cpp.o
Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/printiface/printhelper.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/printiface/printoptionspage.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawimport.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawpreview.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawsettingsbox.cpp.o
[ 80%] [ 80%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/threads/TextItemLoader.cpp.o
Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/editor/editortool.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/editor/editortooliface.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/editor/editorstackview.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/editor/editortoolsettings.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/editor/editorwindow.cpp.o
[ 80%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/editor/actioncategorizedview.cpp.o
[ 81%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/qrc_icons.cxx.o
[ 81%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/plugin/imageiface.cpp.o
[ 81%] Building CXX object
extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/PLEConfigSkeleton.cpp.o
[ 81%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/plugin/imageplugin.cpp.o
[ 81%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/plugin/imagepluginloader.cpp.o
[ 81%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/digikamconfig.cpp.o
Linking CXX static library ../../../lib/liblibphotolayoutseditor.a
[ 81%] Built target libphotolayoutseditor
Linking CXX shared library ../../lib/libdigikamcore.so
[ 81%] Built target digikamcore
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
More information about the Digikam-users
mailing list