Skip to main content

CMake Error - incorrect arguments for KDE_Version

6 posts / 0 new
Last post
BLaZuRE
Offline
Joined: 02/21/2010
Posts:
CMake Error - incorrect arguments for KDE_Version

I have the latest versions of KDE, MLT, CMake, and Kdenlive. I'm somewhat new to Linux and am using Debian. However, when I do cmake .., I get the following at the end:

-- Found Soprano Index: /usr/lib/libsopranoindex.so
-- Found Soprano Client: /usr/lib/libsopranoclient.so
CMake Error at src/CMakeLists.txt:206 (if):
if had incorrect arguments: ${KDE_VERSION} VERSION_EQUAL 4.3.80 OR
${KDE_VERSION} VERSION_GREATER 4.3.80 (Unknown arguments specified).

CMake Error at src/CMakeLists.txt:208 (else):
else An ELSE command was found outside of a proper IF ENDIF structure. Or
its arguments did not match the opening IF command.

CMake Error at src/CMakeLists.txt:210 (endif):
endif An ENDIF command was found outside of a proper IF ENDIF structure.
Or its arguments did not match the opening IF command.

Any recommendations?

0
Your rating: None
j-b-m
Offline
Joined: 05/19/2009
Posts:
Re: CMake Error - incorrect arguments for KDE_Version

Are you sure you have the kdelibs devel packages installed?

BLaZuRE
Offline
Joined: 02/21/2010
Posts:
Re: CMake Error - incorrect arguments for KDE_Version

Yes, I have KDE, kdelibs, kdelibs5, kdelibs5-dev, kdelibs5-data, and others installed and updated.

mr_maurice
Offline
Joined: 04/23/2010
Posts:
Re: CMake Error - incorrect arguments for KDE_Version

I have the exact same error..

j-b-m
Offline
Joined: 05/19/2009
Posts:
Re: CMake Error - incorrect arguments for KDE_Version

The current svn version of src/CMakeLists.txt contains the following at line 206:

if (${KDE_VERSION} VERSION_LESS 4.3.80)

From the error, it looks like you don't have the latest version. Could you please update or give more infos about the version you are trying to compile?

mr_maurice
Offline
Joined: 04/23/2010
Posts:
Re: CMake Error - incorrect arguments for KDE_Version

I think I had an earlier version.
Meanwhile, I switched to debian testing, installed the full kde4 desktop, and compiled from here. I guess one of the missing/too old libraries got installed/updated along the way..

Compilation works, and kdenlive starts.

Now I'm facing an error wich belongs to another thread

Thanks