This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen

Bug 851

Summary: Unable to make benchmark suite with relative path to source
Product: Eigen Reporter: Kevin locke <kevin>
Component: GeneralAssignee: Nobody <eigen.nobody>
Status: NEW ---    
Severity: Unknown CC: chtz, gael.guennebaud, jacob.benoit.1
Priority: Normal    
Version: 3.2   
Hardware: All   
OS: All   
Whiteboard:

Description Kevin locke 2014-08-06 05:32:01 UTC
Following the instructions from http://eigen.tuxfamily.org/index.php?title=How_to_run_the_benchmark_suite using the following commands:

wget http://bitbucket.org/eigen/eigen/get/3.2.2.tar.bz2
tar -xjf eigen-eigen-1306d75b4a21.tar.bz2
mkdir eigen-eigen-1306d75b4a21/build
cd eigen-eigen-1306d75b4a21/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DEIGEN_BUILD_BTL=ON -DEIGEN3_INCLUDE_DIR=..

Results in the following error among the other cmake output:

CMake Error at cmake/FindEigen3.cmake:33 (file):
  file Internal CMake error when trying to open file:
  /tmp/eigen-eigen-1306d75b4a21/bench/btl/libs/eigen3/../Eigen/src/Core/util/Macros.h
  for reading.
Call Stack (most recent call first):
  cmake/FindEigen3.cmake:59 (_eigen3_check_version)
  bench/btl/libs/eigen3/CMakeLists.txt:8 (find_package)

And cmake fails without creating bench/btl/Makefile (and likely many other files) required for the next step.

Changing ".." to the absolute path (/tmp/eigen-eigen-1306d75b4a21 in the example) avoids the issue.

Thanks,
Kevin
Comment 1 Nobody 2019-12-04 13:33:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/851.