Errors due to old files in build dir
Andras Mantia
amantia at kde.org
Sat Apr 14 12:53:45 CEST 2007
Hi,
today I run into the following error:
[ 46%] Building CXX object
workspace/kwin/CMakeFiles/kdeinit_kwin.dir/workspace.o
/data/development/build/kde-trunk/kdebase/workspace/kwin/kwinadaptor.h:69:
error: ‘KWinInternal’ has not been declared
/data/development/build/kde-trunk/kdebase/workspace/kwin/kwinadaptor.h:69:
error: expected `)' before ‘*’ token
/data/development/build/kde-trunk/kdebase/workspace/kwin/kwinadaptor.h:72:
error: ‘KWinInternal’ has not been declared
/data/development/build/kde-trunk/kdebase/workspace/kwin/kwinadaptor.h:72:
error: ISO C++ forbids declaration of ‘Workspace’ with no type
/data/development/build/kde-trunk/kdebase/workspace/kwin/kwinadaptor.h:72:
error: ‘Workspace’ declared as an ‘inline’ field
/data/development/build/kde-trunk/kdebase/workspace/kwin/kwinadaptor.h:72:
error: expected ‘;’ before ‘*’ token
/data/development/build/kde-trunk/kdebase/workspace/kwin/kwinadaptor.h:75:
error: expected `;' before ‘public’
/data/development/sources/kde-trunk/kdebase/workspace/kwin/workspace.cpp:
In constructor ‘KWin::Workspace::Workspace(bool)’:
/data/development/sources/kde-trunk/kdebase/workspace/kwin/workspace.cpp:129:
error: no matching function for call to ‘KWinAdaptor::KWinAdaptor
/data/development/build/kde-trunk/kdebase/workspace/kwin/kwinadaptor.h:29:
note: candidates are: KWinAdaptor::KWinAdaptor()
/data/development/build/kde-trunk/kdebase/workspace/kwin/kwinadaptor.h:29:
note: KWinAdaptor::KWinAdaptor(const KWinAdaptor&)
make[2]: *** [workspace/kwin/CMakeFiles/kdeinit_kwin.dir/workspace.o]
Error 1
make[1]: *** [workspace/kwin/CMakeFiles/kdeinit_kwin.dir/all] Error 2
The suggested and working fix was to remove the kwinadaptor* files.
The question is, why aren't these files regenerated by the build system?
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070414/7653b071/attachment.pgp
More information about the Kde-buildsystem
mailing list