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

Installation issue

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

Installation issue

Mon May 16, 2011 9:07 pm
Hi all,

I'm trying to install Eigen3 on my Ubuntu machine and I think I'm making a dumb mistake. I follow the instructions in the INSTALL file, but get MANY errors after running cmake <source_dir> (I do use the correct folder name here). The errors take this form:


CMake Error at unsupported/cmake/EigenTesting.cmake:16 (add_executable):
add_executable cannot create target "dontalign_6" because another target
with the same name already exists. The existing target is an executable
created in source directory "/opt/eigen/test". See documentation for
policy CMP0002 for more details.
Call Stack (most recent call first):
unsupported/cmake/EigenTesting.cmake:130 (ei_add_test_internal)
unsupported/test/CMakeLists.txt:122 (ei_add_test)


Any ideas what I'm missing?

Thanks
~Robin
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: Installation issue

Tue May 17, 2011 4:38 pm
that's very strange, are you sure you ran cmake from a fresh empty directory, e.g.:

cd <path_to_eigen_source>
mkdir build
cd build
cmake ..
.
.
.
rheld
Registered Member
Posts
2
Karma
0
OS

Re: Installation issue

Tue May 17, 2011 8:52 pm
Yep, I followed exactly those steps when I got the errors.

The good news is that I was just able to install the package as a debian package.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar