[Digikam-users] Error compiling digikamimageplugins.

Caulier Gilles caulier.gilles at free.fr
Mon Jul 4 23:24:08 BST 2005


Le Dimanche 3 Juillet 2005 20:32, Andrew Svet a écrit :
> Hi all.
> I tried to compile the latest digikamimageplugins (0.7.3), but it finished
> with an error. So i wanted to see what's goin' on with previous versions
> and downloaded 0.7.3-beta2, 0.7.3-beta1, 0.7.2... every compilation
> finished with the same error:
> make[2]: Entering directory
> `/usr/src/digikamimageplugins-0.7.2/digikamimageplugins'
> Making all in adjustlevels
> make[3]: Entering directory
> `/usr/src/digikamimageplugins-0.7.2/digikamimageplugins/adjustlevels'
> /usr/share/qt3/bin/moc ./imageplugin_adjustlevels.h -o
> imageplugin_adjustlevels.moc
> if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++
> -DHAVE_CONFIG_H -I. -I. -I../.. -I../../digikamimageplugins/
> -I/usr/include/kde
> -I/usr/share/qt3/include -I/usr/X11R6/include    -DQT_THREAD_SUPPORT
> -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2
> -Wformat-security
> -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION  -MT imageplugin_adjustlevels.lo -MD -MP -MF
> ".deps/imageplugin_adjustlevels.Tpo" \
>   -c -o imageplugin_adjustlevels.lo `test -f 'imageplugin_adjustlevels.cpp'
> || echo './'`imageplugin_adjustlevels.cpp; \
> then mv -f ".deps/imageplugin_adjustlevels.Tpo"
> ".deps/imageplugin_adjustlevels.Plo"; \
> else rm -f ".deps/imageplugin_adjustlevels.Tpo"; exit 1; \
> fi
> imageplugin_adjustlevels.cpp: In constructor `
>    ImagePlugin_AdjustLevels::ImagePlugin_AdjustLevels(QObject*, const
> char*, const QStringList&)':
> imageplugin_adjustlevels.cpp:48: error: `setXMLFile' undeclared (first use
> this
>    function)
> imageplugin_adjustlevels.cpp:48: error: (Each undeclared identifier is
> reported
>    only once for each function it appears in.)
> /usr/include/kde/kgenericfactory.tcc: In static member function `static
>    Product* KDEPrivate::ConcreteFactory<Product,
> ParentType>::create(QWidget*, const char*, QObject*, const char*, const
> QStringList&,
>    KDEPrivate::Type2Type<QObject>) [with Product =
> ImagePlugin_AdjustLevels, ParentType = QObject]':
> /usr/include/kde/kgenericfactory.tcc:132:   instantiated from `static
> Product* KDEPrivate::ConcreteFactory<Product, ParentType>::create(QWidget*,
> const char*, QObject*, const char*, const char*, const QStringList&) [with
> Product = ImagePlugin_AdjustLevels, ParentType = QObject]'
> /usr/include/kde/kgenericfactory.h:193:   instantiated from `QObject*
> KGenericFactory<Product, ParentType>::createObject(QObject*, const char*,
> const char*, const QStringList&) [with Product = ImagePlugin_AdjustLevels,
> ParentType = QObject]'
> /usr/share/qt3/include/qvaluelist.h:272:   instantiated from here
> /usr/include/kde/kgenericfactory.tcc:167: error: cannot allocate an object
> of type `ImagePlugin_AdjustLevels'
> /usr/include/kde/kgenericfactory.tcc:167: error:   because the following
>    virtual functions are abstract:
> /usr/include/kde/digikam/guiclient.h:40: error:         virtual QStringList
>    Digikam::GUIClient::guiDefinition() const
> make[3]: *** [imageplugin_adjustlevels.lo] Error 1
> make[3]: Leaving directory
> `/usr/src/digikamimageplugins-0.7.2/digikamimageplugins/adjustlevels'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/src/digikamimageplugins-0.7.2/digikamimageplugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/digikamimageplugins-0.7.2'
> make: *** [all] Error 2
>
> This output is from 0.7.2 compilation, but they're all the same... very
> sad.

Hum, witch linux dist, Qt / KDE version ? Have installed full Qt KDE 
development packages ?

Gilles caulier



More information about the Digikam-users mailing list