[Kde-imaging] kipi-plugins test build failure

Michael Palimaka kensington at gentoo.org
Tue Aug 14 16:44:40 UTC 2012


Hi,

I'm not able to build the tests included with kipi-plugins-2.8.0:

[ 57%] Building CXX object tests/CMakeFiles/kipicmd.dir/kipiinterface.o
/home/michael/tmp/digikam-2.8.0/extra/kipi-plugins/tests/kipiinterface.cpp: 
In member function ‘virtual KIPI::ImageInfo KipiInterface::info(const 
KUrl&)’:
/home/michael/tmp/digikam-2.8.0/extra/kipi-plugins/tests/kipiinterface.cpp:116:57: 
error: cannot allocate an object of abstract type ‘KipiImageInfoShared’
In file included from 
/home/michael/tmp/digikam-2.8.0/extra/kipi-plugins/tests/kipiinterface.cpp:50:0:
/home/michael/tmp/digikam-2.8.0/extra/kipi-plugins/tests/kipiimageinfoshared.h:36:7: 
note:   because the following virtual functions are pure within 
‘KipiImageInfoShared’:
In file included from 
/home/michael/tmp/digikam-2.8.0/extra/kipi-plugins/tests/kipiimageinfoshared.h:32:0,
                  from 
/home/michael/tmp/digikam-2.8.0/extra/kipi-plugins/tests/kipiinterface.cpp:50:
/usr/include/libkipi/imageinfoshared.h:73:21: note:     virtual QString 
KIPI::ImageInfoShared::description()
/usr/include/libkipi/imageinfoshared.h:74:21: note:     virtual void 
KIPI::ImageInfoShared::setDescription(const QString&)
/home/michael/tmp/digikam-2.8.0/extra/kipi-plugins/tests/kipiinterface.cpp:117:1: 
error: control reaches end of non-void function [-Werror=return-type]
cc1plus: some warnings being treated as errors
make[2]: *** [tests/CMakeFiles/kipicmd.dir/kipiinterface.o] Error 1
make[1]: *** [tests/CMakeFiles/kipicmd.dir/all] Error 2
make: *** [all] Error 2

Any ideas?

Best regards,
Michael


More information about the Kde-imaging mailing list