Plasma compile errors

Joris Guisson joris.guisson at gmail.com
Sat Sep 29 10:08:12 BST 2007


Hi,

Just updated plasma and tried to compile it, I get several compile errors :

First of all lancelot isn't building, because it seems that somebody forgot
to add a couple of files :

...
-- Found KDE4 kconfig_compiler preprocessor:
/usr/lib/kde4/bin/kconfig_compiler
-- Found KDE4 automoc: /usr/lib/kde4/bin/kde4automoc
-- Could not find OPTIONAL package Sensors
-- Found KDE PIM libraries
CMake Error: Cannot find source file
"/home/kde4dev/plasma/applets/lancelot/app/BorderLayout.cpp" for target
"lancelot"

So I removed the lancelot directory from the applets/CMakeLists.txt file to
get plasma built, and then I ran in to this error :

...
[ 16%] Built target plasma_applet_dict
[ 17%] Built target plasma_applet_ciavc
[ 19%] Built target plasma_applet_ebn
[ 20%] Building CXX object
applets/network/CMakeFiles/plasma_applet_network.dir/network.o
/home/kde4dev/plasma/applets/network/network.cpp: In member function 'void
Network::updateSize()':
/home/kde4dev/plasma/applets/network/network.cpp:536: warning: converting to
'int' from 'double'
/home/kde4dev/plasma/applets/network/network.cpp: In member function 'void
Network::configurePlotter()':
/home/kde4dev/plasma/applets/network/network.cpp:553: error: 'class
Plasma::SignalPlotter' has no member named 'setDrawBackground'
/home/kde4dev/plasma/applets/network/network.cpp:562: error: 'class
Plasma::SignalPlotter' has no member named 'setDrawBackground'
/home/kde4dev/plasma/applets/network/network.cpp: In member function 'void
Network::paintTrafficIcon(QPainter*, const QRect&)':
/home/kde4dev/plasma/applets/network/network.cpp:585: warning: passing
'qreal' for argument 1 to 'QPoint::QPoint(int, int)'
/home/kde4dev/plasma/applets/network/network.cpp:585: warning: passing
'qreal' for argument 2 to 'QPoint::QPoint(int, int)'
/home/kde4dev/plasma/applets/network/network.cpp:586: warning: passing
'qreal' for argument 1 to 'QSize::QSize(int, int)'
/home/kde4dev/plasma/applets/network/network.cpp:586: warning: passing
'float' for argument 2 to 'QSize::QSize(int, int)'
/home/kde4dev/plasma/applets/network/network.cpp:593: warning: passing
'qreal' for argument 1 to 'QPoint::QPoint(int, int)'
/home/kde4dev/plasma/applets/network/network.cpp:593: warning: passing
'qreal' for argument 2 to 'QPoint::QPoint(int, int)'
/home/kde4dev/plasma/applets/network/network.cpp:594: warning: passing
'qreal' for argument 1 to 'QSize::QSize(int, int)'
/home/kde4dev/plasma/applets/network/network.cpp:594: warning: passing
'qreal' for argument 2 to 'QSize::QSize(int, int)'
/home/kde4dev/plasma/applets/network/network.cpp:600: warning: passing
'qreal' for argument 1 to 'QPoint::QPoint(int, int)'
/home/kde4dev/plasma/applets/network/network.cpp:600: warning: passing
'qreal' for argument 2 to 'QPoint::QPoint(int, int)'
/home/kde4dev/plasma/applets/network/network.cpp:601: warning: passing
'qreal' for argument 1 to 'QSize::QSize(int, int)'
/home/kde4dev/plasma/applets/network/network.cpp:601: warning: passing
'qreal' for argument 2 to 'QSize::QSize(int, int)'
make[2]: ***
[applets/network/CMakeFiles/plasma_applet_network.dir/network.o] Error 1
make[1]: *** [applets/network/CMakeFiles/plasma_applet_network.dir/all]
Error 2

The rest of plasma builds fine.

Joris,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070929/2ee73c7c/attachment.htm>


More information about the kde-core-devel mailing list