[Marble-devel] Build error in KDE version

Bastian Holst bastianholst at gmx.de
Fri Jul 16 09:02:43 CEST 2010


Marble trunk needs KDE 4.4 to compile and KDE 4.5 to get a working “Get Hot 
New Stuff” dialog.

Bastian

Am Dienstag 13 Juli 2010, 14:11:16 schrieb Torsten Rahn:
> Which KDE version and which headers (devel-packages) do you have installed?
> Looks to me like you are using KDE 4.3 while Marble needs 4.4 or maybe even
> 4.5.
> 
> Torsten
> 
> On Tuesday 13 July 2010 13:14:57 gaurav gupta wrote:
> > Hello,
> > 
> > I am building KDE version so I'm getting following error while working
> > fine for QT version. Please suggest me what could be the possible
> > reason.
> > 
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:50:40: error:
> > knewstuff3/knewstuffaction.h: No such file or directory
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:51:39: error:
> > knewstuff3/downloaddialog.h: No such file or directory
> > [ 86%] /home/gaurav/GSOC/marble/src/marble_part.cpp: In member function
> > ‘void Marble::MarblePart::setupActions()’:
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:670: error: ‘KNS3’ has not
> > been declared
> > /home/gaurav/GSOC/marble/src/marble_part.cpp: In member function ‘void
> > Marble::MarblePart::showNewStuffDialog()’:
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:965: error: ‘KNS3’ was not
> > declared in this scope
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:965: error: template
> > argument 1 is invalid
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:965: error: invalid type in
> > declaration before ‘(’ token
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:965: error: expected
> > type-specifier before ‘KNS3’
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:965: error: expected ‘)’
> > before ‘KNS3’
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:965: error: invalid
> > conversion from ‘int*’ to ‘int’
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:966: error: base operand of
> > ‘->’ is not a pointer
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:967: error: type ‘int’
> > argument given to ‘delete’, expected pointer
> > Building CXX object src/CMakeFiles/marble.dir/MarbleTest.o
> > make[2]: *** [src/CMakeFiles/marble_part.dir/marble_part.o] Error 1
> > make[1]: *** [src/CMakeFiles/marble_part.dir/all] Error 2
> > make[1]: *** Waiting for unfinished jobs....
> > [ 86%] Building CXX object src/CMakeFiles/marble.dir/kdemain.o
> > [ 87%] Building CXX object src/CMakeFiles/marble.dir/KdeMainWindow.o
> > [ 87%] Building CXX object src/CMakeFiles/marble.dir/marble_part.o
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:50:40: error:
> > knewstuff3/knewstuffaction.h: No such file or directory
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:51:39: error:
> > knewstuff3/downloaddialog.h: No such file or directory
> > [ 87%] Building CXX object src/CMakeFiles/marble.dir/qrc_marble.o
> > [ 87%] Building CXX object src/CMakeFiles/marble.dir/settings.o
> > /home/gaurav/GSOC/marble/src/marble_part.cpp: In member function ‘void
> > Marble::MarblePart::setupActions()’:
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:670: error: ‘KNS3’ has not
> > been declared
> > /home/gaurav/GSOC/marble/src/marble_part.cpp: In member function ‘void
> > Marble::MarblePart::showNewStuffDialog()’:
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:965: error: ‘KNS3’ was not
> > declared in this scope
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:965: error: template
> > argument 1 is invalid
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:965: error: invalid type in
> > declaration before ‘(’ token
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:965: error: expected
> > type-specifier before ‘KNS3’
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:965: error: expected ‘)’
> > before ‘KNS3’
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:965: error: invalid
> > conversion from ‘int*’ to ‘int’
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:966: error: base operand of
> > ‘->’ is not a pointer
> > /home/gaurav/GSOC/marble/src/marble_part.cpp:967: error: type ‘int’
> > argument given to ‘delete’, expected pointer
> > make[2]: *** [src/CMakeFiles/marble.dir/marble_part.o] Error 1
> > make[2]: *** Waiting for unfinished jobs....
> > make[1]: *** [src/CMakeFiles/marble.dir/all] Error 2
> > make: *** [all] Error 2
> 
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/marble-devel/attachments/20100716/09ed4b69/attachment.sig 


More information about the Marble-devel mailing list