Menu

Building kdiff-ext on Kubuntu 10.04

Help
2010-07-09
2013-05-01
  • Nobody/Anonymous

    Hello,

    i'm somewhat a newbie with building CMake based projects.
    I have gcc-4.4 installed, CMake 2.8, plenty of /usr/lib/libQt…so.4.6.2 libs and their respective /usr/include/qt4 things

    When I run 'cmake .', no error.
    When I run 'make', I get plenty of errors like:
    ../../lib/libsettings.a(settings.o):(.data.rel.ro._ZTV8Settings+0x2c): undefined reference to 'QObject::customEvent(QEvent *)'

    as if it was simply missing the whole Qt4 lib.
    what did i do wrong?

    Regards
    Armel

     
  • Armel Asselin

    Armel Asselin - 2010-07-09

    (this reply is just to help me monitoring the subject)

     
  • Sergey Zorin

    Sergey Zorin - 2010-07-11

    That was a problem in the linkage of kdiff_ext. Should be fixed now in the mercurial repository.

     
  • Armel Asselin

    Armel Asselin - 2010-07-13

    thank you very much, it works.

    Regards
    Armel

     
  • Armel Asselin

    Armel Asselin - 2010-07-13

    on Kubuntu 10.04 I have no KDEDIR / KDEHOME variables, thus cmake . -D….=$KDEDIR/$KDEHOME won't work.
    i had to use cmake . -D…=~/.kde

    also make install would not work unless root even with this setting

    Best regards
    Armel

     
  • Sergey Zorin

    Sergey Zorin - 2010-07-13

    cmake -DCMAKE_INSTALL_PREFIX=~/kde … worked for me. make install did not required root privileges.
    The only problem I noticed was with images not being picked up from ~/kde/share/icons directory.

    PS: I'm using a separate directory for builds and clean it up before each run of cmake. Hope this helps.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.