linux compiling problems / KDE GUI / CVS & snapshots
Posted: 26.06.2004, 18:56
Hi all,
I got some compiling errors when building Celestia from snapshots or CVS.
System: Pentium4, Slackware (current), kernel 2.6.6, X.Org 6.7.0, KDE 3.2.3, gcc 3.3.4, etc ...
*celestia-cvs.20040625.tgz from http://celestia.teyssier.org/download/daily/
compiles with GLUT GUI but does not with KDE:
*celestia-cvs.20040611.tgz from http://celestia.teyssier.org/download/daily/
Same problem with the KDE GUI.
Is there a problem with my installation of KDE or is Celestia's KDE GUI broken in CVS? Note that I can still compile and run smoothly 1.3.1 with KDE GUI.
*CVS checkout from Sourceforge on June 23, 2004:
Last time I did that was before 1.3.1 was released and it went smoothly,
Thank you.
I got some compiling errors when building Celestia from snapshots or CVS.
System: Pentium4, Slackware (current), kernel 2.6.6, X.Org 6.7.0, KDE 3.2.3, gcc 3.3.4, etc ...
*celestia-cvs.20040625.tgz from http://celestia.teyssier.org/download/daily/
compiles with GLUT GUI but does not with KDE:
Code: Select all
source='celestialbrowser.cpp' object='celestialbrowser.o' libtool=no \
depfile='.deps/celestialbrowser.Po' tmpdepfile='.deps/celestialbrowser.TPo' \
depmode=gcc3 /bin/sh ../../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -I.. -I/usr/lib/qt/include -I/opt/kde/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -c -o celestialbrowser.o `test -f 'celestialbrowser.cpp' || echo './'`celestialbrowser.cpp
celestialbrowser.cpp: In member function `virtual void
CelestialBrowser::slotRefresh()':
celestialbrowser.cpp:141: error: conversion from `QString' to non-scalar type `
std::basic_string<char, std::char_traits<char>, std::allocator<char> >'
requested
celestialbrowser.cpp:159: error: no matching function for call to `QString::
QString(std::string)'
/usr/lib/qt/include/qstring.h:746: error: candidates are:
QString::QString(QStringData*, bool)
/usr/lib/qt/include/qstring.h:720: error: QString::QString(int,
bool)
/usr/lib/qt/include/qstring.h:406: error:
QString::QString(const char*)
/usr/lib/qt/include/qstring.h:404: error:
QString::QString(const QChar*, unsigned int)
/usr/lib/qt/include/qstring.h:403: error:
QString::QString(const QByteArray&)
/usr/lib/qt/include/qstring.h:402: error:
QString::QString(const QString&)
/usr/lib/qt/include/qstring.h:401: error:
QString::QString(QChar)
/usr/lib/qt/include/qstring.h:838: error: QString::QString()
celestialbrowser.cpp:176: error: no matching function for call to `QString::
QString(std::string)'
/usr/lib/qt/include/qstring.h:746: error: candidates are:
QString::QString(QStringData*, bool)
/usr/lib/qt/include/qstring.h:720: error: QString::QString(int,
bool)
/usr/lib/qt/include/qstring.h:406: error:
QString::QString(const char*)
/usr/lib/qt/include/qstring.h:404: error:
QString::QString(const QChar*, unsigned int)
/usr/lib/qt/include/qstring.h:403: error:
QString::QString(const QByteArray&)
/usr/lib/qt/include/qstring.h:402: error:
QString::QString(const QString&)
/usr/lib/qt/include/qstring.h:401: error:
QString::QString(QChar)
/usr/lib/qt/include/qstring.h:838: error: QString::QString()
celestialbrowser.cpp: In member function `virtual void
CelestialBrowser::slotRightClickOnStar(QListViewItem*, const QPoint&, int)':
celestialbrowser.cpp:217: warning: unused parameter `int col'
make[5]: *** [celestialbrowser.o] Error 1
make[5]: Leaving directory `/home/astro/celestia-1.3.2/src/celestia/kde'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/astro/celestia-1.3.2/src/celestia/kde'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/astro/celestia-1.3.2/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/astro/celestia-1.3.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/astro/celestia-1.3.2'
make: *** [all] Error 2
*celestia-cvs.20040611.tgz from http://celestia.teyssier.org/download/daily/
Same problem with the KDE GUI.
Is there a problem with my installation of KDE or is Celestia's KDE GUI broken in CVS? Note that I can still compile and run smoothly 1.3.1 with KDE GUI.
*CVS checkout from Sourceforge on June 23, 2004:
Code: Select all
astro@lune:~/celestia$ make -f Makefile.cvs
This Makefile is only for the CVS repository
This will be deleted before making the distribution
*** YOU'RE USING automake (GNU automake) 1.8.5.
*** KDE requires automake 1.5
make[1]: *** [cvs] Error 1
make: *** [all] Error 2
Last time I did that was before 1.3.1 was released and it went smoothly,
Thank you.