Kdevelop fails to compile after DevPlatformConfig.cmake.in updates

Davide netcelli.tux at gmail.com
Wed Dec 8 11:52:04 UTC 2010


On Wednesday 08 December 2010 12:29:50 Andreas Pakulat wrote:
> On 08.12.10 11:53:52, Davide wrote:
> > Hello,
> > 
> > I'm using kdevplatform branch master (commit 692d0ea987) but now I can't
> > compile kdevelop anymore because of API change:
> > 
> > CMake Error at /usr/lib64/cmake/kdevplatform/KDevPlatformConfig.cmake:27
> > 
> > (message):
> >   KDevPlatform 1.1.60 changed API and is not compatible to the requested
> >   version 1.1.60
> > 
> > Call Stack (most recent call first):
> >   cmake/modules/FindKDevPlatform.cmake:40 (find_package)
> >   CMakeLists.txt:28 (find_package)
> > 
> > This occurs after this changes:
> > https://projects.kde.org/projects/extragear/kdevelop/kdevplatform/reposit
> > ory/revisions/69e2454b78006bd8795f08ebff7a1c88d1e50fde
> > 
> > Does it work as expected? The error states it requests version 1.1.60 but
> > I got 1.1.60.
> 
> I'll look into that tonight, apparently testing only with my plugin against
> a 1.1 build was insufficient. (or maybe I screwed up during merge)...
> 
> Andreas

It likes VERSION_GREATER test fails. Here the value of variables:
${KDevPlatform_FIND_VERSION_MAJOR}=1
${KDevPlatform_FIND_VERSION_MINOR}=1
So test is:
if( "1.1.60" VERSION_GREATER "1.1.59" )
but it fails.

Hope it helps.

Davide




More information about the KDevelop-devel mailing list