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

CMake Error at CMakeLists.txt ?

Tags: None
(comma "," separated)
carloshdz
Registered Member
Posts
2
Karma
0

CMake Error at CMakeLists.txt ?

Sun Mar 24, 2013 6:09 am
Hello,
I used the command

cmake "dir"

where "dir" is the directory where I unzipped the latest distribution of Eigen and i got the following error

CMake Error at CMakeLists.txt:1 (include):
include could not find load file:

RegexUtils


CMake Error at CMakeLists.txt:2 (test_escape_string_as_regex):
Unknown CMake command "test_escape_string_as_regex".


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".

What could I do to solve it?

Thanks!
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: CMake Error at CMakeLists.txt ?

Sun Mar 24, 2013 9:36 am
it seems your cmake version is too old
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: CMake Error at CMakeLists.txt ?

Sun Mar 24, 2013 9:38 am
btw, you need to configure a build directory only to:
- compile and run the unit tests
- build the doc (but you have it online)
- build the blas/lapack Fortran interface
carloshdz
Registered Member
Posts
2
Karma
0

Re: CMake Error at CMakeLists.txt ?

Sun Mar 24, 2013 4:33 pm
Thanks for your response!

My cmake is version 2.8.10

The error message that I would like to solve is the one about the RegexUtils. Please see above.

Thank you!
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: CMake Error at CMakeLists.txt ?

Sun Mar 24, 2013 10:59 pm
hm, you should have a structure like:

path/to/eigen3/Eigen/src/...

make sure that you run cmake as follow:

cmake path/to/eigen3

It seems you pointed to path/to/eigen3/Eigen.


Bookmarks



Who is online

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