This forum has been archived. All content is frozen. Please use KDE Discuss instead.

CMake Error - incorrect arguments for KDE_Version

Tags: None
(comma "," separated)
BLaZuRE
Registered Member
Posts
4
Karma
0
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?
j-b-m
Registered Member
Posts
804
Karma
1
Are you sure you have the kdelibs devel packages installed?
BLaZuRE
Registered Member
Posts
4
Karma
0
Yes, I have KDE, kdelibs, kdelibs5, kdelibs5-dev, kdelibs5-data, and others installed and updated.
mr_maurice
Registered Member
Posts
3
Karma
0
I have the exact same error..
j-b-m
Registered Member
Posts
804
Karma
1
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
Registered Member
Posts
3
Karma
0
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


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]