
KFiresaver3D (OpenGL) - Source
Source (link to git-repo or to original if based on someone elses unmodified work):
KFiresaver3D, is a project originated from the great work that is David Sansome's kfiresaver. For those who already tried previous versions, let's say that the screensaver is improved so much. Now there is a setup dialog (thanks David) whith tons of options to fully configure the screensaver and adapt it to your needs! I've also added a 'shading' effect, sound, gFX, the possibility to use presets for options and many other things...
Look at the screenshots; it was very hard to choice three ones..
But you have to see it in motion!!
Note: The screenshots are taken using KoRaL's preset. Fortunately there are more presets and options if you don't like excessive eye-impressing frames ^_^
>> Sometimes it looks better than real fireworks ^_^
** Installation instructions **
untar the package:
- tar xjpvf kfiresaver3d-0.6-leakfix.tar.bz2
switch to that directory and type:
- ./configure
- make
- make install
Last Day of 2003:
-since kde-apps.org is born I uploaded the version that fixes a bastard mem leak on code :-) (the patch has lied on my hd for almost a year). Enjoy
Sept 2002:
-added a configurable shader ('fade effect')
-configurable stars
-sound (yeah, poor by now...)
-many new types of fireworks (rings, double-rings, etc..)
-tons of speedups
-some bugfixes (did I made some bugs?)
-fixed a missing include (thanks to Spiral Man)
-lots of eyecandy ^_^
-a sort of 'show timeline'
-etc.. etc..
Ratings & Comments
144 Comments
Failed to compile in SuSE 10.2 using KDE 3.5.5 release 45.2 Output - cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands make all-recursive make[1]: Entering directory `/home/marc/kfiresaver/kfiresaver3d-0.6' Making all in kfiresaver3d make[2]: Entering directory `/home/marc/kfiresaver/kfiresaver3d-0.6/kfiresaver3d' /usr/lib/qt3/bin/uic -L /usr/local/kde/lib/kde3/plugins/designer -nounload -o kfiresaversetup.h ./kfiresaversetup.ui source='particle.cpp' object='particle.o' libtool=no \ depfile='.deps/particle.Po' tmpdepfile='.deps/particle.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o particle.o `test -f particle.cpp || echo './'`particle.cpp cc1plus: warning: command line option "-Wbad-function-cast" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++ In file included from /usr/include/c++/4.1.2/backward/iostream.h:31, from particle.cpp:23: /usr/include/c++/4.1.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 <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. source='main.cpp' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o main.o `test -f main.cpp || echo './'`main.cpp cc1plus: warning: command line option "-Wbad-function-cast" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++ source='kfiresaverkss.cpp' object='kfiresaverkss.o' libtool=no \ depfile='.deps/kfiresaverkss.Po' tmpdepfile='.deps/kfiresaverkss.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o kfiresaverkss.o `test -f kfiresaverkss.cpp || echo './'`kfiresaverkss.cpp cc1plus: warning: command line option "-Wbad-function-cast" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++ /usr/lib/qt3/include/qptrlist.h: In member function ‘void QPtrList<type>::deleteItem(void*) [with type = Particle]’: kfiresaverkss.cpp:36: instantiated from here /usr/lib/qt3/include/qptrlist.h:150: warning: possible problem detected in invocation of delete operator: /usr/lib/qt3/include/qptrlist.h:150: warning: invalid use of undefined type ‘struct Particle’ kfiresaver.h:40: warning: forward declaration of ‘struct Particle’ /usr/lib/qt3/include/qptrlist.h:150: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. source='kfiresaver.cpp' object='kfiresaver.o' libtool=no \ depfile='.deps/kfiresaver.Po' tmpdepfile='.deps/kfiresaver.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o kfiresaver.o `test -f kfiresaver.cpp || echo './'`kfiresaver.cpp cc1plus: warning: command line option "-Wbad-function-cast" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++ In file included from /usr/include/c++/4.1.2/backward/iostream.h:31, from kfiresaver.cpp:31: /usr/include/c++/4.1.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 <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. kfiresaver.cpp: In constructor ‘KFireSaver::KFireSaver(QWidget*, const char*)’: kfiresaver.cpp:100: warning: passing ‘double’ for argument 1 to ‘int QObject::startTimer(int)’ /usr/lib/qt3/bin/moc kfiresaversetup.h -o kfiresaversetup.moc rm -f kfiresaversetup.cpp echo '#include <klocale.h>' > kfiresaversetup.cpp /usr/lib/qt3/bin/uic -L /usr/local/kde/lib/kde3/plugins/designer -nounload -tr tr2i18n -i kfiresaversetup.h ./kfiresaversetup.ui | sed -e "s,tr2i18n( \"\" ),QString::null,g" | sed -e "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | sed -e "s,image\([0-9][0-9]*\)_data,img\1_kfiresaversetup,g" >> kfiresaversetup.cpp || rm -f kfiresaversetup.cpp echo '#include "kfiresaversetup.moc"' >> kfiresaversetup.cpp source='kfiresaversetup.cpp' object='kfiresaversetup.o' libtool=no \ depfile='.deps/kfiresaversetup.Po' tmpdepfile='.deps/kfiresaversetup.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o kfiresaversetup.o `test -f kfiresaversetup.cpp || echo './'`kfiresaversetup.cpp cc1plus: warning: command line option "-Wbad-function-cast" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++ /usr/lib/qt3/include/qptrlist.h: In member function ‘void QPtrList<type>::deleteItem(void*) [with type = Particle]’: kfiresaversetup.moc:168: instantiated from here /usr/lib/qt3/include/qptrlist.h:150: warning: possible problem detected in invocation of delete operator: /usr/lib/qt3/include/qptrlist.h:150: warning: invalid use of undefined type ‘struct Particle’ ./kfiresaver.h:40: warning: forward declaration of ‘struct Particle’ /usr/lib/qt3/include/qptrlist.h:150: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -o kfiresaver3d -L/usr/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/lib particle.o main.o kfiresaverkss.o kfiresaver.o kfiresaversetup.o -lkscreensaver -lqt-mt -lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread -lresolv kfiresaver.o: In function `KFireSaver::explodeFirework(Particle*)': kfiresaver.cpp:(.text+0x8a5): undefined reference to `glClearColor' kfiresaver.cpp:(.text+0x8b1): undefined reference to `glClear' kfiresaver.cpp:(.text+0x8d1): undefined reference to `glClearColor' kfiresaver.o: In function `KFireSaver::resizeGL(int, int)': kfiresaver.cpp:(.text+0xfa0): undefined reference to `glViewport' kfiresaver.cpp:(.text+0xfac): undefined reference to `glMatrixMode' kfiresaver.cpp:(.text+0xfb1): undefined reference to `glLoadIdentity' kfiresaver.cpp:(.text+0xff3): undefined reference to `glOrtho' kfiresaver.cpp:(.text+0xfff): undefined reference to `glMatrixMode' kfiresaver.cpp:(.text+0x1004): undefined reference to `glLoadIdentity' kfiresaver.o: In function `KFireSaver::paintGL()': kfiresaver.cpp:(.text+0x10a2): undefined reference to `glClear' kfiresaver.cpp:(.text+0x1127): undefined reference to `glLoadIdentity' kfiresaver.cpp:(.text+0x1141): undefined reference to `glTranslatef' kfiresaver.cpp:(.text+0x1154): undefined reference to `glScalef' kfiresaver.cpp:(.text+0x1174): undefined reference to `glColor4f' kfiresaver.cpp:(.text+0x1180): undefined reference to `glBegin' kfiresaver.cpp:(.text+0x11a4): undefined reference to `glTexCoord2d' kfiresaver.cpp:(.text+0x11bc): undefined reference to `glVertex2f' kfiresaver.cpp:(.text+0x11e0): undefined reference to `glTexCoord2d' kfiresaver.cpp:(.text+0x11fa): undefined reference to `glVertex2f' kfiresaver.cpp:(.text+0x121e): undefined reference to `glTexCoord2d' kfiresaver.cpp:(.text+0x1238): undefined reference to `glVertex2f' kfiresaver.cpp:(.text+0x125c): undefined reference to `glTexCoord2d' kfiresaver.cpp:(.text+0x1278): undefined reference to `glVertex2f' kfiresaver.cpp:(.text+0x127d): undefined reference to `glEnd' kfiresaver.cpp:(.text+0x12c2): undefined reference to `glLoadIdentity' kfiresaver.cpp:(.text+0x1339): undefined reference to `glTranslatef' kfiresaver.cpp:(.text+0x138d): undefined reference to `glScalef' kfiresaver.cpp:(.text+0x13fa): undefined reference to `glColor4f' kfiresaver.cpp:(.text+0x1406): undefined reference to `glBegin' kfiresaver.cpp:(.text+0x142a): undefined reference to `glTexCoord2d' kfiresaver.cpp:(.text+0x1442): undefined reference to `glVertex2f' kfiresaver.cpp:(.text+0x1466): undefined reference to `glTexCoord2d' kfiresaver.cpp:(.text+0x1480): undefined reference to `glVertex2f' kfiresaver.cpp:(.text+0x14a4): undefined reference to `glTexCoord2d' kfiresaver.cpp:(.text+0x14be): undefined reference to `glVertex2f' kfiresaver.cpp:(.text+0x14e2): undefined reference to `glTexCoord2d' kfiresaver.cpp:(.text+0x14fe): undefined reference to `glVertex2f' kfiresaver.cpp:(.text+0x1503): undefined reference to `glEnd' kfiresaver.cpp:(.text+0x1787): undefined reference to `glBlendFunc' kfiresaver.cpp:(.text+0x178c): undefined reference to `glLoadIdentity' kfiresaver.cpp:(.text+0x17a0): undefined reference to `glTranslatef' kfiresaver.cpp:(.text+0x17c6): undefined reference to `glColor4f' kfiresaver.cpp:(.text+0x17d2): undefined reference to `glBegin' kfiresaver.cpp:(.text+0x17de): undefined reference to `glVertex2f' kfiresaver.cpp:(.text+0x17ea): undefined reference to `glVertex2f' kfiresaver.cpp:(.text+0x17f6): undefined reference to `glVertex2f' kfiresaver.cpp:(.text+0x1802): undefined reference to `glVertex2f' kfiresaver.cpp:(.text+0x1807): undefined reference to `glEnd' kfiresaver.cpp:(.text+0x181b): undefined reference to `glBlendFunc' kfiresaver.cpp:(.text+0x18d5): undefined reference to `glClearColor' kfiresaver.cpp:(.text+0x18e1): undefined reference to `glClear' kfiresaver.cpp:(.text+0x18f7): undefined reference to `glClearColor' kfiresaver.o: In function `KFireSaver::initializeGL()': kfiresaver.cpp:(.text+0x2604): undefined reference to `glDisable' kfiresaver.cpp:(.text+0x2613): undefined reference to `glEnable' kfiresaver.cpp:(.text+0x2627): undefined reference to `glBlendFunc' kfiresaver.cpp:(.text+0x2633): undefined reference to `glShadeModel' kfiresaver.cpp:(.text+0x2647): undefined reference to `glHint' kfiresaver.cpp:(.text+0x265b): undefined reference to `glHint' kfiresaver.cpp:(.text+0x2743): undefined reference to `glTexParameterf' kfiresaver.cpp:(.text+0x275b): undefined reference to `glTexParameterf' kfiresaver.cpp:(.text+0x2767): undefined reference to `glEnable' kfiresaver.cpp:(.text+0x27c1): undefined reference to `glTexImage2D' collect2: ld returned 1 exit status make[2]: *** [kfiresaver3d] Error 1 make[2]: Leaving directory `/home/marc/kfiresaver/kfiresaver3d-0.6/kfiresaver3d' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/marc/kfiresaver/kfiresaver3d-0.6' make: *** [all] Error 2
I had to had "-lGL" to link it successfully. I recommend using mdl_have_opengl.m4 (from http://sourceforge.net/projects/ac-archive) to add OpenGL to the configure-script. For the moment one maybe could try ./configure LDFLAGS="-lGL"
I have used this screensaver on many computers. It usually does not work. It is unable to correctly open a full-screen OpenGL screen. It is normally offset half-screen to the left or half-screen to the top, leaving half the screen black. Sometimes, changing resolution will fix it (ie: changing from 1280x1024 to 1024x768). Usually, it does not. I have searched and searched the web for some 'fix' for this problem, but I've found nothing.
Doestn't compile on (updated&extended) Fedroa Core 2. Running kernel 2.6.7 (so I can burn cds & play unreal tournament), NVidia 6.111 driver and lots & lots of addons mostly through apt-get + extra repos. Don't think the kernel is the problem but nvidia might and there are a lots of software versions not found in vanilla Fedora Core. Also it doesn't seem to be related to the other posts here. Relevant make output: kfiresaverkss.cpp:40: error: default argument given for parameter 1 of ` KFireSaverSetup::KFireSaverSetup(QWidget*, const char*)' kfiresaverkss.h:44: error: after previous specification in ` KFireSaverSetup::KFireSaverSetup(QWidget*, const char*)' kfiresaverkss.cpp:40: error: default argument given for parameter 2 of ` KFireSaverSetup::KFireSaverSetup(QWidget*, const char*)' kfiresaverkss.h:44: error: after previous specification in ` KFireSaverSetup::KFireSaverSetup(QWidget*, const char*)' make[2]: *** [kfiresaverkss.o] Fout 1 make[2]: Leaving directory `/home/jeroen/Downloads/kde-look/kfiresaver3D-0.3/kfiresaver' make[1]: *** [all-recursive] Fout 1 make[1]: Leaving directory `/home/jeroen/Downloads/kde-look/kfiresaver3D-0.3' make: *** [all] Fout 2
I run FC2 as well, and I didn't have this problem. That said, I'm running KDE 3.3.2, as opposed to the stock FC2 version of KDE (which is 3.2.?). For some reason, though, I had another problem. The makefile didn't include the opengl libraries in the link command, so I had to do it manually.
How did you manually add gl to makefile? I get more errors like thise while compiling: kfiresaver.o(.text+0x1d0f):kfiresaver.cpp: undefined reference to `glTranslatef' Is it because of openGL?
Like most of these screensavers, when compiling from source on Xandros 2 and 2.5, one must first use: ./configure --prefix=/usr -with-qt-includes=/usr/include/qt3 make (Log in as root or su) make install Then, as root, execute cp '/usr/share/applnk/System/ScreenSavers/kfiresaver3D.desktop' '/usr/share/applnk/Applications/System/ScreenSavers/' This has been a thorn in my side for some time... hope it helps someone else.
A very beautiful screen saver! Thanks! :)
to compile on gentoo: Replace the line: LIBSOCKET = -lresolv with: LIBSOCKET = -lresolv -lGL in /kfiresaver3d/Makefile
No workee with above... all undefined references begin with 'gl...' ie: kfiresaver.o(.text+0x1aa6): In function `KFireSaver::explodeFirework(Particle*)': : undefined reference to `glClearColor' kfiresaver.o(.text+0x1ab2): In function `KFireSaver::explodeFirework(Particle*)': : undefined reference to `glClear' kfiresaver.o(.text+0x1ac0): In function `KFireSaver::explodeFirework(Particle*)': : undefined reference to `glClearColor'
Tried to build on Fedora Core 2 Test 2, and get following errors (just the end section) kfiresaver.o(.text+0x153a): In function `KFireSaver::paintGL()': : undefined reference to `glBegin' kfiresaver.o(.text+0x154d): In function `KFireSaver::paintGL()': : undefined reference to `glTexCoord2d' kfiresaver.o(.text+0x1564): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x1572): In function `KFireSaver::paintGL()': : undefined reference to `glTexCoord2d' kfiresaver.o(.text+0x158f): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x159d): In function `KFireSaver::paintGL()': : undefined reference to `glTexCoord2d' kfiresaver.o(.text+0x15ba): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x15c3): In function `KFireSaver::paintGL()': : undefined reference to `glTexCoord2d' kfiresaver.o(.text+0x15e6): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x15eb): In function `KFireSaver::paintGL()': : undefined reference to `glEnd' kfiresaver.o(.text+0x161e): In function `KFireSaver::paintGL()': : undefined reference to `glBlendFunc' kfiresaver.o(.text+0x1623): In function `KFireSaver::paintGL()': : undefined reference to `glLoadIdentity' kfiresaver.o(.text+0x1637): In function `KFireSaver::paintGL()': : undefined reference to `glTranslatef' kfiresaver.o(.text+0x164c): In function `KFireSaver::paintGL()': : undefined reference to `glColor4f' kfiresaver.o(.text+0x1656): In function `KFireSaver::paintGL()': : undefined reference to `glBegin' kfiresaver.o(.text+0x1664): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x1672): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x167b): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x1684): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x1689): In function `KFireSaver::paintGL()': : undefined reference to `glEnd' kfiresaver.o(.text+0x1697): In function `KFireSaver::paintGL()': : undefined reference to `glBlendFunc' kfiresaver.o(.text+0x1f86): In function `KFireSaver::explodeFirework(Particle*)' : : undefined reference to `glClearColor' kfiresaver.o(.text+0x1f92): In function `KFireSaver::explodeFirework(Particle*)' : : undefined reference to `glClear' kfiresaver.o(.text+0x1fa0): In function `KFireSaver::explodeFirework(Particle*)' : : undefined reference to `glClearColor' collect2: ld returned 1 exit status make[2]: *** [kfiresaver3d] Error 1 make[2]: Leaving directory `/home/fyre/kfiresaver3d-0.6/kfiresaver3d' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/fyre/kfiresaver3d-0.6' make: *** [all] Error 2 [fyre@cartman kfiresaver3d-0.6]$ END of log. Therefore I'm voting this as a zero.
It also doesn't compile on SuSE 9.0 + KDE 3.2.1 (just the end section): CONFIG_HEADERS= CONFIG_LINKS= \ CONFIG_FILES=kfiresaver3d/Makefile /bin/sh ./config.status config.status: creating kfiresaver3d/Makefile config.status: executing depfiles commands make[2]: Leaving directory `/tmp/kfiresaver3d-0.6/kfiresaver3d' make[2]: Entering directory `/tmp/kfiresaver3d-0.6/kfiresaver3d' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -MT particle.o -MD -MP -MF ".deps/particle.Tpo" \ -c -o particle.o `test -f 'particle.cpp' || echo './'`particle.cpp; \ then mv -f ".deps/particle.Tpo" ".deps/particle.Po"; \ else rm -f ".deps/particle.Tpo"; exit 1; \ fi cc1plus: Warnung: "-Wbad-function-cast" is valid for C/ObjC but not for C++ In file included from /usr/include/g++/backward/iostream.h:31, from particle.cpp:23: /usr/include/g++/backward/backward_warning.h:32:2: Warnung: #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 header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -MT main.o -MD -MP -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi cc1plus: Warnung: "-Wbad-function-cast" is valid for C/ObjC but not for C++ main.cpp:29:29: kfiresaversetup.h: Datei oder Verzeichnis nicht gefunden main.cpp: In function `QDialog* kss_setup()': main.cpp:44: error: parse error before `(' token make[2]: *** [main.o] Fehler 1 make[2]: Leaving directory `/tmp/kfiresaver3d-0.6/kfiresaver3d' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/tmp/kfiresaver3d-0.6' make: *** [all] Fehler 2
Just missed libGL.so. Add -lGL to Makefile and everyting goes fine...
if i try to compile i get the following error... kfiresaver.o(.text+0xb43): In function `KFireSaver::initializeGL()': : undefined reference to `glDisable' kfiresaver.o(.text+0xb4f): In function `KFireSaver::initializeGL()': : undefined reference to `glEnable' kfiresaver.o(.text+0xb64): In function `KFireSaver::initializeGL()': : undefined reference to `glBlendFunc' kfiresaver.o(.text+0xb70): In function `KFireSaver::initializeGL()': : undefined reference to `glShadeModel' kfiresaver.o(.text+0xb83): In function `KFireSaver::initializeGL()': : undefined reference to `glHint' kfiresaver.o(.text+0xb93): In function `KFireSaver::initializeGL()': : undefined reference to `glHint' kfiresaver.o(.text+0xc88): In function `KFireSaver::initializeGL()': : undefined reference to `glTexParameterf' kfiresaver.o(.text+0xc9c): In function `KFireSaver::initializeGL()': : undefined reference to `glTexParameterf' kfiresaver.o(.text+0xca8): In function `KFireSaver::initializeGL()': : undefined reference to `glEnable' kfiresaver.o(.text+0xd03): In function `KFireSaver::initializeGL()': : undefined reference to `glTexImage2D' kfiresaver.o(.text+0xe18): In function `KFireSaver::resizeGL(int, int)': : undefined reference to `glViewport' kfiresaver.o(.text+0xe24): In function `KFireSaver::resizeGL(int, int)': : undefined reference to `glMatrixMode' kfiresaver.o(.text+0xe29): In function `KFireSaver::resizeGL(int, int)': : undefined reference to `glLoadIdentity' kfiresaver.o(.text+0xe6d): In function `KFireSaver::resizeGL(int, int)': : undefined reference to `glOrtho' kfiresaver.o(.text+0xe79): In function `KFireSaver::resizeGL(int, int)': : undefined reference to `glMatrixMode' kfiresaver.o(.text+0xe7e): In function `KFireSaver::resizeGL(int, int)': : undefined reference to `glLoadIdentity' kfiresaver.o(.text+0xf6b): In function `KFireSaver::paintGL()': : undefined reference to `glClear' kfiresaver.o(.text+0x11af): In function `KFireSaver::paintGL()': : undefined reference to `glClearColor' kfiresaver.o(.text+0x11bb): In function `KFireSaver::paintGL()': : undefined reference to `glClear' kfiresaver.o(.text+0x11d4): In function `KFireSaver::paintGL()': : undefined reference to `glClearColor' kfiresaver.o(.text+0x12e5): In function `KFireSaver::paintGL()': : undefined reference to `glLoadIdentity' kfiresaver.o(.text+0x1387): In function `KFireSaver::paintGL()': : undefined reference to `glTranslatef' kfiresaver.o(.text+0x13d7): In function `KFireSaver::paintGL()': : undefined reference to `glScalef' kfiresaver.o(.text+0x1463): In function `KFireSaver::paintGL()': : undefined reference to `glColor4f' kfiresaver.o(.text+0x146f): In function `KFireSaver::paintGL()': : undefined reference to `glBegin' kfiresaver.o(.text+0x1493): In function `KFireSaver::paintGL()': : undefined reference to `glTexCoord2d' kfiresaver.o(.text+0x14ab): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x14cc): In function `KFireSaver::paintGL()': : undefined reference to `glTexCoord2d' kfiresaver.o(.text+0x14e9): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x150a): In function `KFireSaver::paintGL()': : undefined reference to `glTexCoord2d' kfiresaver.o(.text+0x1527): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x1545): In function `KFireSaver::paintGL()': : undefined reference to `glTexCoord2d' kfiresaver.o(.text+0x1567): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x156c): In function `KFireSaver::paintGL()': : undefined reference to `glEnd' kfiresaver.o(.text+0x1718): In function `KFireSaver::paintGL()': : undefined reference to `glLoadIdentity' kfiresaver.o(.text+0x1733): In function `KFireSaver::paintGL()': : undefined reference to `glTranslatef' kfiresaver.o(.text+0x1746): In function `KFireSaver::paintGL()': : undefined reference to `glScalef' kfiresaver.o(.text+0x176b): In function `KFireSaver::paintGL()': : undefined reference to `glColor4f' kfiresaver.o(.text+0x1777): In function `KFireSaver::paintGL()': : undefined reference to `glBegin' kfiresaver.o(.text+0x179b): In function `KFireSaver::paintGL()': : undefined reference to `glTexCoord2d' kfiresaver.o(.text+0x17b3): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x17d4): In function `KFireSaver::paintGL()': : undefined reference to `glTexCoord2d' kfiresaver.o(.text+0x17f1): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x1810): In function `KFireSaver::paintGL()': : undefined reference to `glTexCoord2d' kfiresaver.o(.text+0x182d): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x184b): In function `KFireSaver::paintGL()': : undefined reference to `glTexCoord2d' kfiresaver.o(.text+0x186d): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x1872): In function `KFireSaver::paintGL()': : undefined reference to `glEnd' kfiresaver.o(.text+0x18ed): In function `KFireSaver::paintGL()': : undefined reference to `glBlendFunc' kfiresaver.o(.text+0x18f2): In function `KFireSaver::paintGL()': : undefined reference to `glLoadIdentity' kfiresaver.o(.text+0x1907): In function `KFireSaver::paintGL()': : undefined reference to `glTranslatef' kfiresaver.o(.text+0x192a): In function `KFireSaver::paintGL()': : undefined reference to `glColor4f' kfiresaver.o(.text+0x1936): In function `KFireSaver::paintGL()': : undefined reference to `glBegin' kfiresaver.o(.text+0x1942): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x194e): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x195a): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x1966): In function `KFireSaver::paintGL()': : undefined reference to `glVertex2f' kfiresaver.o(.text+0x196b): In function `KFireSaver::paintGL()': : undefined reference to `glEnd' kfiresaver.o(.text+0x1980): In function `KFireSaver::paintGL()': : undefined reference to `glBlendFunc' kfiresaver.o(.text+0x2216): In function `KFireSaver::explodeFirework(Particle*)': : undefined reference to `glClearColor' kfiresaver.o(.text+0x2222): In function `KFireSaver::explodeFirework(Particle*)': : undefined reference to `glClear' kfiresaver.o(.text+0x223b): In function `KFireSaver::explodeFirework(Particle*)': : undefined reference to `glClearColor' collect2: ld returned 1 exit status make[2]: *** [kfiresaver3d] Error 1 make[2]: Leaving directory `/home/fracoon/Downloads/Screensavers/kfiresaver3d-0.6/kfiresaver3d' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/fracoon/Downloads/Screensavers/kfiresaver3d-0.6' make: *** [all] Error 2 anyone nows how to fix this?
g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -o kfiresaver3d -L/usr/X11R6/lib -L/usr/lib/qt3-gcc2.96/lib -L/usr/lib -L /usr/lib -L /usr/lib/qt3-gcc2.96/lib -L /usr/X11R6/lib particle.o main.o kfiresaverkss.o kfiresaver.o kfiresaversetup.o -lkscreensaver -lqt-mt -lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread -lresolv -lGL -lGLU g++ can't find the GL and GLU library so just help it a bit :)
Sounds like you do not have GLX headers installed.
I've done all of the suggestions listed above, and double checked to make sure I've done them right, and I have. But the screensaver still doesnt show up as one of my desktop configuration options. As a matter of fact when i go in to select a screensaver none are listed (not even the one that came with the installation of KDE). So I guess I'm wondering if there is something I need to do to setup screensavers in general in order to use them. Otherwise, I've tried every fix option here and none of them work.
Sorry about the frown. I meant to click on the smily face. Thanks again.
Holy cow! Man, this thing is great!! Thanks loads, this is a most excellent work you have done. Running Slackware 9.0 and it works great!!!
I downloaded and extracted everything... and while I find various Makefile things like Makefile.am, Makefile.in, Makefile.common, I don't find either a makefile or Makefile, and make complains that there isn't a target. Am I doing something stupid here?
From the "installation instructions" on the top of this web page: untar the package: - tar xjpvf kfiresaver3d-0.6-leakfix.tar.bz2 switch to that directory and type: - ./configure - make - make install The command "./configure" will create the Makefile you're looking for! Have a nice Day.. .. I think that's the best day to compare screensaver to real fireworks ^_^
I cannot get sound to work, I am running ALSA 0.9.6 and it just will not work. Great job though, it looks wonderfull and with the sound working I don't think you could ask for a better screen saver. If anyone knows how to get it to work with alsa please let me know. thanks
Just felt like sharing with Debian people. 1. Run ./configure As always, Debian has that "QT problem", so do `./configure --with-qt-dir=/usr/share/qt3 --prefix=/usr` where --predix specifies your KDE directory. I had do: apt-get install zlib1g-dev apt-get install libqt3-headers libqt3-mt-dev apt-get install kdelibs-dev for ./configure to stop complaining. 2. Run `make` 3. Run `make install` (as root) 4. Copy 'kfiresaver3D.desktop' to /usr/share/apps/kscreensaver/ Amazingly, I found that file in $HOME/.gnome-desktop/kfiresaver3d-0.6/kfiresaver3d/kfiresaver3D.desktop You can also search for it: `find / -name "kfiresaver3D.desktop" -print 5. Choose the ScreenSaver from KDE RightClickOnDesktop->Configure Desktop->Screen Saver and select "FireWorks 3D (GL)" Hope this will. Alex
er3d -L/usr/X11R6/lib -L/usr/lib/qt-3.1/lib -L/usr/lib -R /usr/lib -R /usr/lib/qt-3.1/lib -R /usr/X11R6/lib particle.o main.o kfiresaverkss.o kfiresaver.o kfiresaversetup.o -lkscreensaver -lqt-mt -lXext -lX11 -lresolv -lSM -lICE -lpthread -lresolv /usr/bin/ld: cannot find -lart_lgpl_2 collect2: ld returned 1 exit status Can you help? would love to install this screen saver. looks great.
Hi everybody, Let me just re-itterate that this screensaver looks fantastic from the looks of the screenshots. But, I am new to linux (I got fedup w/ Windows and decided to erase windows and put Mandrake 9.1 on my computer). Unfortunately, I can not figure out how to install tar.gz source files. I did some research and found out that to "CD a directory" means to change the working directory. But I am unsure how to go about doing that, and pretty much everything else. If someone could possible go into specifics on how to do things, and email me (at: musicman@musicunlmtd.com) or post them on here I would greatly appreciate it. I know there is some pretty cool free software fo Linux, but unfortunately I can't install it until I Figure out how to. I know how to install .rpm files (thats pretty easy) but most software for linux are the tar.gz files. Thank you for your time and effort, -Jon