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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
(this reply is just to help me monitoring the subject)
That was a problem in the linkage of kdiff_ext. Should be fixed now in the mercurial repository.
thank you very much, it works.
Regards
Armel
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
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.