build error
Boudewijn Rempt
boud at valdyas.org
Sat Dec 30 13:06:08 CET 2006
On Saturday 30 December 2006 12:48, Cyrille Berger wrote:
> did you try to add #include <krita-config.h> at the beginning of
> kis_rgb_f16_hdr_colorspace.cc or kis_rgb_f16_hdr_colorspace.h ?
config-krita.h, and yes -- but it didn't completely work. It gave me another
error:
[100%] Building CXX object
krita/colorspaces/rgb_float_hdr/CMakeFiles/kritargbfloathdrplugin.dir/rgb_float_hdr.o
/home/kde4/koffice/krita/colorspaces/rgb_float_hdr/rgb_float_hdr.cc: In
constructor ‘RGBFloatHDRPlugin::RGBFloatHDRPlugin(QObject*, const
QStringList&)’:
/home/kde4/koffice/krita/colorspaces/rgb_float_hdr/rgb_float_hdr.cc:58:
error: ‘KoBasicF16HalfHistogramProducer’ was not declared in this scope
/home/kde4/koffice/krita/colorspaces/rgb_float_hdr/rgb_float_hdr.cc:58: error:
template argument 1 is invalid
/home/kde4/koffice/krita/colorspaces/rgb_float_hdr/rgb_float_hdr.cc:59: error:
new initializer expression list treated as compound expression
/home/kde4/koffice/krita/colorspaces/rgb_float_hdr/rgb_float_hdr.cc:59: error:
invalid conversion from ‘KoColorSpace*’ to ‘int’
/home/kde4/koffice/krita/colorspaces/rgb_float_hdr/rgb_float_hdr.cc:59: error:
no matching function for call
to ‘KoHistogramProducerFactoryRegistry::add(int*)’
/home/kde4/koffice/libs/kofficecore/KoGenericRegistry.h:49: note: candidates
are: void KoGenericRegistry<T>::add(T) [with T = KoHistogramProducerFactory*]
/home/kde4/koffice/libs/kofficecore/KoGenericRegistry.h:58: note:
void KoGenericRegistry<T>::add(KoID, T) [with T =
KoHistogramProducerFactory*]
make[2]: ***
[krita/colorspaces/rgb_float_hdr/CMakeFiles/kritargbfloathdrplugin.dir/rgb_float_hdr.o]
Error 1
make[1]: ***
[krita/colorspaces/rgb_float_hdr/CMakeFiles/kritargbfloathdrplugin.dir/all]
Error 2
Much shorter error, though :-)
> oh and maybe there is yet again a conflict between installed and source
> headers, maybe you can try to make install in libs/pigment and then try
> again to build rgb-float-hdr ?
I removed all Ko*.h files from my install directory and tried again.
--
Boudewijn Rempt
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20061230/e9d39b09/attachment.pgp
More information about the kimageshop
mailing list