compilation of koffice's karbon breaks

Nicolas Goutte nicog at snafu.de
Sat Nov 30 01:45:47 GMT 2002


An unmodified KOffice 1.2 wll not compiled on an unmodified KDE 3.0.5.

Either:
- use use KOffice of the CVS branch KOFFICE_1_2_BRANCH
- modify your KDE version down to 3.0.4 (file kdeversion.h (the installed 
one!))

The reason is that KOffice assume that 3.0.5 is KDE 3.1 alpha. However 3.0.5 
is the fifth revision of KDE 3.0. So of course it cannot work, as a few 
things are not defined in that case.

The fixes work because:
- KOFFICE_1_2_BRANCH knows that KDE 3.1 alpha starts at 3.0.6
- KOffice 1.2 treats 3.0.4 as KDE 3.0 and therefore defines what is needed and 
do not use what should not be used.

For more information, please look into the archives ( http://lists.kde.org ) 
under the lists koffice and koffice-devel.

Have a nice day/evening/night!

>List:     kde-core-devel
>Subject:  compilation of koffice's karbon breaks
From:     Andreas Sturm <a_sturm at naimasoft.com>
>Date:     2002-11-29 23:55:42
>[Download message RAW]
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi!
>
>I am compiling koffice 1.2 for kde 3.0.5 at the moment. The compile run 
>breaks at karbon/core/vcanvas.cc:
>
>cc-1152 CC: ERROR File = vcanvas.cc, Line = 222
>  Expression must be an lvalue or a function designator.
>
>                m_part->document().draw( p, &KoRect::fromQRect( rect ) );
>                                             ^
>
>1 error detected in the compilation of "vcanvas.cc".
>
>What does that mean and have you any hint to make the compiler happy? The 
>platform is IRIX 6.5.18 with MIPSpro compiler 7.3.1.3m.
>Thanks again for any help!
>
>Andy





More information about the kde-core-devel mailing list