trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2011

Re: [trinity-devel] kdepim - CMake error at ConfigureChecks.cmake:45 (string)

From: "David C. Rankin" <drankinatty@...>
Date: Sun, 06 Mar 2011 16:33:55 -0600
On 03/06/2011 01:08 PM, Serghei Amelian wrote:
> On Sunday 06 March 2011 20:17:59 David C. Rankin wrote:
> [...]
> 
>> KCal::ICalFormatImpl::writeAttachment(KCal::Attachment*)’:
>> /home/david/tblds/trinity-kdepim/src/kdepim/libkcal/icalformatimpl.cpp:674:
>> 76: error: invalid conversion from ‘unsigned char*’ to ‘const char*’
>> /home/david/tblds/trinity-kdepim/src/kdepim/libkcal/icalformatimpl.cpp:674:
>> 76: error:   initializing argument 1 of ‘icalattach*
>> icalattach_new_from_data(const char*, void (*)(unsigned char*, void*),
>> void*)’
> 
> [...]
> 
> Fixed in svn. At least, I hope :)
> 

We are doing a lot of "hoping" today :)

  Got another one:

[  4%] Building CXX object
libkcal/CMakeFiles/kcal-shared.dir/incidenceformatter.cpp.o
cd /home/david/tblds/trinity-kdepim/src/kdepim/libkcal && /usr/bin/c++
-Dkcal_shared_EXPORTS -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DUSE_QT3
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64
-mtune=generic -O2 -pipe  -include tqt.h -fPIC
-I/home/david/tblds/trinity-kdepim/src/kdepim/libkcal
-I/home/david/tblds/trinity-kdepim/src/kdepim/libkcal/versit
-I/home/david/tblds/trinity-kdepim/src/kdepim
-I/home/david/tblds/trinity-kdepim/src/kdepim/libkdepim
-I/home/david/tblds/trinity-kdepim/src/kdepim/ktnef -I/opt/trinity/include
-I/opt/qt/include -I/opt/qt/include/tqt   -o
CMakeFiles/kcal-shared.dir/incidenceformatter.cpp.o -c
/home/david/tblds/trinity-kdepim/src/kdepim/libkcal/incidenceformatter.cpp
/home/david/tblds/trinity-kdepim/src/kdepim/libkcal/incidenceformatter.cpp: In
function ‘QString displayViewLinkPerson(const QString&, QString, QString)’:
/home/david/tblds/trinity-kdepim/src/kdepim/libkcal/incidenceformatter.cpp:187:51:
error: ‘class KABC::AddressBook’ has no member named ‘tqfindByEmail’
/home/david/tblds/trinity-kdepim/src/kdepim/libkcal/incidenceformatter.cpp: In
function ‘QString invitationPerson(const QString&, QString, QString)’:
/home/david/tblds/trinity-kdepim/src/kdepim/libkcal/incidenceformatter.cpp:1138:51:
error: ‘class KABC::AddressBook’ has no member named ‘tqfindByEmail’
/home/david/tblds/trinity-kdepim/src/kdepim/libkcal/incidenceformatter.cpp: In
function ‘QString tooltipPerson(const QString&, QString)’:
/home/david/tblds/trinity-kdepim/src/kdepim/libkcal/incidenceformatter.cpp:3364:51:
error: ‘class KABC::AddressBook’ has no member named ‘tqfindByEmail’
make[2]: *** [libkcal/CMakeFiles/kcal-shared.dir/incidenceformatter.cpp.o] Error 1
make[2]: Leaving directory `/home/david/tblds/trinity-kdepim/src/kdepim'
make[1]: *** [libkcal/CMakeFiles/kcal-shared.dir/all] Error 2
make[1]: Leaving directory `/home/david/tblds/trinity-kdepim/src/kdepim'
make: *** [all] Error 2
    Aborting...


Guessing, I'm trying:

try to add to tqt.h:

#define tqfindByEmail findByEmail

so far that's working -- I'll report back. I'm up to 16% and building :)

Ugh :(

[ 18%] Building CXX object
libkdepim/CMakeFiles/kdepim-shared.dir/distributionlist.cpp.o
cd /home/david/tblds/trinity-kdepim/src/kdepim/libkdepim && /usr/bin/c++
-Dkdepim_shared_EXPORTS -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DUSE_QT3
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64
-mtune=generic -O2 -pipe  -include tqt.h -fPIC
-I/home/david/tblds/trinity-kdepim/src/kdepim/libkdepim
-I/home/david/tblds/trinity-kdepim/src/kdepim -I/opt/trinity/include
-I/opt/qt/include -I/opt/qt/include/tqt   -o
CMakeFiles/kdepim-shared.dir/distributionlist.cpp.o -c
/home/david/tblds/trinity-kdepim/src/kdepim/libkdepim/distributionlist.cpp
/home/david/tblds/trinity-kdepim/src/kdepim/libkdepim/distributionlist.cpp: In
function ‘KABC::Addressee tqfindByUidOrName(KABC::AddressBook*, const QString&,
const QString&)’:
/home/david/tblds/trinity-kdepim/src/kdepim/libkdepim/distributionlist.cpp:136:29:
error: ‘class KABC::AddressBook’ has no member named ‘tqfindByUid’
make[2]: *** [libkdepim/CMakeFiles/kdepim-shared.dir/distributionlist.cpp.o] Error 1
make[2]: Leaving directory `/home/david/tblds/trinity-kdepim/src/kdepim'
make[1]: *** [libkdepim/CMakeFiles/kdepim-shared.dir/all] Error 2
make[1]: Leaving directory `/home/david/tblds/trinity-kdepim/src/kdepim'
make: *** [all] Error 2
    Aborting...

Guessing, I'm trying:

try to add to tqt.h:

#define tqfindByUid findByUid

Make sure you add those 2 define to tqt.h. (or do they need to be fixed
somewhere else to make it right?)

Hey, hey! I'm getting pretty good at guessing :) at 30% and counting :)

Uugh! Bummer!

  This one I'll need your help with. I'm out of guesses :(

[ 36%] Building CXX object
kioslaves/imap4/CMakeFiles/kio_imap4-module.dir/imap4.cc.o
cd /home/david/tblds/trinity-kdepim/src/kdepim/kioslaves/imap4 && /usr/bin/c++
 -Dkio_imap4_module_EXPORTS -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DUSE_QT3
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64
-mtune=generic -O2 -pipe  -include tqt.h -fPIC
-I/home/david/tblds/trinity-kdepim/src/kdepim
-I/home/david/tblds/trinity-kdepim/src/kdepim/libemailfunctions
-I/home/david/tblds/trinity-kdepim/src/kdepim/libkmime
-I/home/david/tblds/trinity-kdepim/src/kdepim/libkdepim -I/opt/trinity/include
-I/opt/qt/include -I/opt/qt/include/tqt   -o
CMakeFiles/kio_imap4-module.dir/imap4.cc.o -c
/home/david/tblds/trinity-kdepim/src/kdepim/kioslaves/imap4/imap4.cc
/home/david/tblds/trinity-kdepim/src/kdepim/kioslaves/imap4/imap4.cc: In member
function ‘virtual void IMAP4Protocol::slave_status()’:
/home/david/tblds/trinity-kdepim/src/kdepim/kioslaves/imap4/imap4.cc:1819:66:
error: ‘slavetqStatus’ was not declared in this scope
make[2]: *** [kioslaves/imap4/CMakeFiles/kio_imap4-module.dir/imap4.cc.o] Error 1
make[2]: Leaving directory `/home/david/tblds/trinity-kdepim/src/kdepim'
make[1]: *** [kioslaves/imap4/CMakeFiles/kio_imap4-module.dir/all] Error 2
make[1]: Leaving directory `/home/david/tblds/trinity-kdepim/src/kdepim'
make: *** [all] Error 2
    Aborting...


-- 
David C. Rankin, J.D.,P.E.