[Digikam-users] DK 4.2 compilation error

Gilles Caulier caulier.gilles at gmail.com
Mon Aug 18 12:14:47 BST 2014


/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:
In constructor ‘KIPIPlugins::MagickApi::MagickApi(const QString&)’:
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:183:61:
error: ‘MagickCoreGenesis’ was not declared in this scope
     MagickCoreGenesis(path.toLocal8Bit().data(), MagickFalse);
                                                             ^
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:
In destructor ‘virtual KIPIPlugins::MagickApi::~MagickApi()’:
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:188:24:
error: ‘MagickCoreTerminus’ was not declared in this scope
     MagickCoreTerminus();
                        ^
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:
In member function ‘KIPIPlugins::MagickImage*
KIPIPlugins::MagickApi::loadQImage(const QImage&)’:
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:223:38:
error: ‘GetAuthenticPixels’ was not declared in this scope
           &img->getImage()->exception)))
                                      ^
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:241:69:
error: ‘SyncAuthenticPixels’ was not declared in this scope
     SyncAuthenticPixels(img->getImage(), &img->getImage()->exception);
                                                                     ^
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:
In member function ‘KIPIPlugins::MagickImage*
KIPIPlugins::MagickApi::createImage(const QString&, int, int)’:
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:409:44:
error: ‘SetImageBackgroundColor’ was not declared in this scope
     SetImageBackgroundColor(img->getImage());
                                            ^
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:
In member function ‘KIPIPlugins::MagickImage*
KIPIPlugins::MagickApi::duplicateImage(const
KIPIPlugins::MagickImage&)’:
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:448:59:
error: ‘MagickBooleanType’ was not declared in this scope
     if (!(dst->setImage(CloneImage(src.getImage(), 0, 0,
(MagickBooleanType)1, &exception))))
                                                           ^
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:
In member function ‘int
KIPIPlugins::MagickApi::bitblitImage(KIPIPlugins::MagickImage&, int,
int, const KIPIPlugins::MagickImage&, int, int, int, int)’:
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:493:40:
error: ‘SrcOverCompositeOp’ was not declared in this scope
     if (CompositeImage(dst.getImage(), SrcOverCompositeOp, source,
dx, dy) != MagickTrue)
                                        ^
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:
In member function ‘int
KIPIPlugins::MagickApi::blendImage(KIPIPlugins::MagickImage&, const
KIPIPlugins::MagickImage&, const KIPIPlugins::MagickImage&, float)’:
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:527:127:
error: ‘GetAuthenticPixels’ was not declared in this scope
     if (!(src0_data = GetAuthenticPixels(src0.getImage(), 0, 0,
src0.getWidth(), src0.getHeight(), &src0.getImage()->exception)))

                                                        ^
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:533:127:
error: ‘GetAuthenticPixels’ was not declared in this scope
     if (!(src1_data = GetAuthenticPixels(src1.getImage(), 0, 0,
src1.getWidth(), src1.getHeight(), &src1.getImage()->exception)))

                                                        ^
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:539:122:
error: ‘GetAuthenticPixels’ was not declared in this scope
     if (!(dst_data = GetAuthenticPixels(dst.getImage(), 0, 0,
dst.getWidth(), dst.getHeight(), &dst.getImage()->exception)))

                                                   ^
/usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:558:67:
error: ‘SyncAuthenticPixels’ was not declared in this scope
     SyncAuthenticPixels(dst.getImage(), &dst.getImage()->exception);

Libimagemagick devel package is missing.

Please read REAME file from kipiplugins and digiKam to solve all
dependencies before to compile...

Gilles Caulier

2014-08-18 12:25 GMT+02:00 maderios <maderios at gmail.com>:
> On 08/18/2014 11:49 AM, Gilles Caulier wrote:
>>
>>  From trace :
>>
>> [ 37%] [ 38%] Building CXX object
>>
>> extra/libkvkontakte/libkvkontakte/CMakeFiles/kvkontakte.dir/authenticationdialog.cpp.o
>> Building CXX object
>> extra/libkdcraw/libkdcraw/CMakeFiles/kdcraw.dir/rnuminput.cpp.o
>> [ 38%] In file included from /usr/include/KDE/KWebView:1:0,
>>                   from
>>
>> /usr/local/src/digikam-4.2.0/digikam-4.2.0/extra/libkvkontakte/libkvkontakte/authenticationdialog.cpp:23:
>> /usr/include/kwebview.h:31:29: fatal error: QtWebKit/QWebView: No such
>> file or directory
>>   #include <QtWebKit/QWebView>
>>
>> WtWebKit component (devel package) is absent from your computer...
>>
> I installed libqtwebkit-dev (2.2.1-7.1)
> I deleted /build
> then
> ./bootstrap.linux
> then
> make
> =>   'fatal error: QtWebKit/QWebView' disappeared but compilation stops here
>
>
> Generating setupdatabase.moc
> Generating searchgroup.moc
> Generating albummodel.moc
> [ 45%] Built target digikam_automoc
>
> Makefile:126: recipe for target 'all' failed
> make: *** [all] Error 2
>
> Full new output  digikam-4.2 compilation-2
> http://pastebin.com/z6H4ZgFS
>
> --
> Maderios
>
>
> _______________________________________________
> 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