[Marble-devel] Build error in KDE version

Torsten Rahn tackat at t-online.de
Tue Jul 13 14:11:16 CEST 2010


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


More information about the Marble-devel mailing list