#1 `KGlobalSettings' undeclared error

open-accepted
nobody
None
5
2004-04-25
2004-04-22
No

When compiling the program on a debian stable (with a
3.2 kde and a 3.2.1 qt) I got the following error:

kbltickerballoon.cpp:87: `KGlobalSettings' undeclared
(first use this function)

Commenting this if' part and leaving just the part that
follows the 'else' at least lets me compile it. I
haven't got a clue about c++, though so I haven't
investigated missing includes or so.

Discussion

  • Konstantin Grusha

    • status: open --> open-accepted
     
  • John Pettigrew

    John Pettigrew - 2005-01-18

    Logged In: YES
    user_id=666161

    I also found this error compiling on SUSE 9.1 (KDE 3.2). I
    suspect that the correct way to get around it is to add a
    line at the start of the file (kbltickerballoon.cpp) as follows:
    #include <kglobalsettings.h>
    At least, this let me complete the make (although the make
    install still wouldn't work).
    Disclaimer - I know nothing about programming KDE!

     
  • Mathieu Jobin

    Mathieu Jobin - 2005-07-26

    Logged In: YES
    user_id=637588

    running gentoo. with KDE 3.4.1

    had to specify a prefix to the configure script

    ./configure --prefix /usr/kde/3.4

    configure should look at $KDEDIR, anyway....

    I had to modify (kbltickerballoon.cpp) as well....
    adding the missing include

    #include <kglobalsettings.h>

    both make and make install worked

     
  • Chris Rauschuber

    Logged In: YES
    user_id=561004

    The fix in the first comment worked for me on Suse 10:
    * ./configure --prefix /opt/kde3
    * add #include <kglobalsettings.h> to kbltickerballoon.cpp
    * use 'sudo make install' instead of 'make install'

     

Log in to post a comment.