trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] kipi-plugins build failure rawdecodingiface.cpp invalid conversion from 'char*'

From: Darrell Anderson <humanreadable@...>
Date: Fri, 23 Mar 2012 22:57:52 -0700 (PDT)
>   This appears a TQString issue in
> rawdecodingiface.cpp. However, I'm a bit stumped with all the '::' operators in bool
> KIPIRawConverterPlugin::RawDecodingIface::loadedFromDcraw(const
> TQString&, TQString&, KIPIRawConverterPlugin::SaveSettingsWidget::OutputFormat,
> const TQByteArray&, int, int)'. Has this surfaced before?

I haven't had a problem building kipi-plugins.

Looking at the build output, seems the problem is with png.h.

My build log shows warnings rather than errors:

rawdecodingiface.cpp:302: warning: deprecated conversion from string constant to 'char*'
rawdecodingiface.cpp:309: warning: deprecated conversion from string constant to 'char*'
rawdecodingiface.cpp:320: warning: deprecated conversion from string constant to 'char*'
rawdecodingiface.cpp:324: warning: deprecated conversion from string constant to 'char*'

Possibly you have a recent version of libpng? I have libpng-1.4.9 installed. I seem to recall something about libpng 1.5. Perhaps check the list archives or bug tracker.

BTW, there were some problems with the way tdepim built that would cause tdesdk and kipi-plugins to build incompletely. Both would not build libkcal support. Check the bug tracker.

Recently I pushed some patches for tdepim (and tdegraphics, tdesdk) to avoid the whole problem.

If you haven't pulled the latest GIT, then as a temporary measure, try this in the configure options to get kipi-plugins to build with libkcal support:

--with-extra-includes=${PREFIX}/include/tde

Darrell