Jump to content

kbilliards


roc19
 Share

Recommended Posts

Has anyone been able to compile kbilliards under MDK 9.0?

 

I really would like to add this to my growing collection of games but I can't seem to get it compiled and installed.

 

I think it needs KDE 3.1 and I 've got KDE 3.1rc6. I will get around to compiling 3.1 final one of these days but for right now I figured I should be able to get this game a going.

Link to comment
Share on other sites

Below are some of the last lines of output I get when I try to compile kbilliards

 

In file included from /usr/include/c++/3.2/backward/iostream.h:31,

from edgeobject.cpp:19:

/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.

source='ball.cpp' object='ball.o' libtool=no

depfile='.deps/ball.Po' tmpdepfile='.deps/ball.TPo'

depmode=gcc3 /bin/sh ../admin/depcomp

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c -o ball.o `test -f ball.cpp || echo './'`ball.cpp

In file included from /usr/include/c++/3.2/backward/iostream.h:31,

from ball.cpp:19:

/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.

source='kbilliards.cpp' object='kbilliards.o' libtool=no

depfile='.deps/kbilliards.Po' tmpdepfile='.deps/kbilliards.TPo'

depmode=gcc3 /bin/sh ../admin/depcomp

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c -o kbilliards.o `test -f kbilliards.cpp || echo './'`kbilliards.cpp

In file included from /usr/include/c++/3.2/backward/iostream.h:31,

from kbilliards.cpp:26:

/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.

kbilliards.cpp: In member function `void Kbilliards::saveSettings()':

kbilliards.cpp:798: choosing `void KConfigBase::writeEntry(const char*, double, bool, bool, char, int, bool)' over `void KConfigBase::writeEntry(const char*, const QStrList&, char, bool, bool, bool)'

kbilliards.cpp:798: because worst conversion for the former is better than worst conversion for the latter

kbilliards.cpp:798: choosing `void KConfigBase::writeEntry(const char*, double, bool, bool, char, int, bool)' over `void KConfigBase::writeEntry(const QString&, const QStrList&, char, bool, bool, bool)'

kbilliards.cpp:798: because worst conversion for the former is better than worst conversion for the latter

kbilliards.cpp:799: choosing `void KConfigBase::writeEntry(const char*, double, bool, bool, char, int, bool)' over `void KConfigBase::writeEntry(const char*, const QStrList&, char, bool, bool, bool)'

kbilliards.cpp:799: because worst conversion for the former is better than worst conversion for the latter

kbilliards.cpp:799: choosing `void KConfigBase::writeEntry(const char*, double, bool, bool, char, int, bool)' over `void KConfigBase::writeEntry(const QString&, const QStrList&, char, bool, bool, bool)'

kbilliards.cpp:799: because worst conversion for the former is better than worst conversion for the latter

kbilliards.cpp:800: choosing `void KConfigBase::writeEntry(const char*, double, bool, bool, char, int, bool)' over `void KConfigBase::writeEntry(const char*, const QStrList&, char, bool, bool, bool)'

kbilliards.cpp:800: because worst conversion for the former is better than worst conversion for the latter

kbilliards.cpp:800: choosing `void KConfigBase::writeEntry(const char*, double, bool, bool, char, int, bool)' over `void KConfigBase::writeEntry(const QString&, const QStrList&, char, bool, bool, bool)'

kbilliards.cpp:800: because worst conversion for the former is better than worst conversion for the latter

make[3]: *** [kbilliards.o] Error 1

make[3]: Leaving directory `/home/reggie/Downloads/kbilliards-0.4/kbilliards'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/reggie/Downloads/kbilliards-0.4/kbilliards'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/reggie/Downloads/kbilliards-0.4'

make: *** [all] Error 2

 

I hope this helps.

Link to comment
Share on other sites

looks like when they wrote it they were using an older version of gcc. not sure what to tell you :-/ maybe contact the person/people who wrote it and ask them for a fix? :-/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...