Fail to compile the master

Andreas Pakulat apaku at gmx.de
Thu Aug 11 17:48:02 UTC 2011


On 11.08.11 18:19:04, Leon Pollak wrote:
> On Thursday 11 August 2011 18:14:59 Aleix Pol wrote:
> > On Thu, Aug 11, 2011 at 5:07 PM, Leon Pollak <leonp at plris.com> wrote:
> > > Hello.
> > > 
> > > The today's kdevelop master fails to compile:
> > > 
> > > [ 68%] Built target cmakemanagertest_automoc
> > > [ 68%] Building CXX object
> > > 
> > > projectmanagers/cmake/tests/CMakeFiles/cmakemanagertest.dir/cmakemanagert
> > > est.o /home/leonp/kdev-
> > > trunk/kdevelop/projectmanagers/cmake/tests/cmakemanagertest.cpp: In
> > > member function ‘void CMakeManagerTest::initTestCase()’:
> > > /home/leonp/kdev-
> > > trunk/kdevelop/projectmanagers/cmake/tests/cmakemanagertest.cpp:122:26:
> > > error:
> > > no matching function for call to ‘KDevelop::TestCore::initialize()’
> > > /home/leonp/kdev-
> > > trunk/kdevelop/projectmanagers/cmake/tests/cmakemanagertest.cpp:122:26:
> > > note:
> > > candidate is:
> > > /usr/local/include/kdevplatform/tests/testcore.h:63:10: note: void
> > > KDevelop::TestCore::initialize(KDevelop::Core::Setup, const QString&)
> > > /usr/local/include/kdevplatform/tests/testcore.h:63:10: note:   candidate
> > > expects 2 arguments, 0 provided
> > > /home/leonp/kdev-
> > > trunk/kdevelop/projectmanagers/cmake/tests/cmakemanagertest.cpp: In
> > > member function ‘void CMakeManagerTest::cleanupTestCase()’:
> > > /home/leonp/kdev-
> > > trunk/kdevelop/projectmanagers/cmake/tests/cmakemanagertest.cpp:129:5:
> > > error:
> > > ‘shutdown’ is not a member of ‘KDevelop::TestCore’
> > > make[2]: ***
> > > 
> > > [projectmanagers/cmake/tests/CMakeFiles/cmakemanagertest.dir/cmakemanager
> > > test.o] Error 1
> > > make[1]: ***
> > > [projectmanagers/cmake/tests/CMakeFiles/cmakemanagertest.dir/all]
> > > Error 2
> > > 
> > > --
> > > Leon
> > > 
> > > --
> > > KDevelop-devel mailing list
> > > KDevelop-devel at kdevelop.org
> > > https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
> > 
> > do you have an up to date kdevplatform?
> Sure.

If you have, are you sure its built and installed and is your kdevelop
using that installed version of kdevplatform? One of those is not true.
If you have system-packages installed for kdevelop/kdevplatform from
your distro, remove them they're only going to cause you trouble if you
run from master branch.

Andreas





More information about the KDevelop-devel mailing list