Skip to content

Commit 1b5149c

Browse files
committed
Erro include CFITree.h
1 parent 0c6fad8 commit 1b5149c

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
cmake_minimum_required (VERSION 2.8.12.2 FATAL_ERROR)
33

4+
45
# Set options for this project.
56
set (PROJECT_NAME "SCIM" CXX)
67
project (${PROJECT_NAME})
@@ -25,8 +26,12 @@ else()
2526
endif()
2627

2728

29+
execute_process(
30+
COMMAND ${CMAKE_COMMAND} -E environment
31+
)
32+
33+
SET( EIGEN3_INCLUDE_DIR "ENV{EIGEN3_INCLUDE_DIR}" )
2834

29-
SET( EIGEN3_INCLUDE_DIR "$ENV{EIGEN3_INCLUDE_DIR}" )
3035
IF( NOT EIGEN3_INCLUDE_DIR )
3136
MESSAGE( FATAL_ERROR "Please point the environment variable EIGEN3_INCLUDE_DIR to the include directory of your Eigen3 installation.")
3237
ENDIF()
@@ -38,7 +43,7 @@ INCLUDE_DIRECTORIES ( "${EIGEN3_INCLUDE_DIR}" )
3843
# Either specify BOOST_ROOT or BOOST_INCLUDEDIR and BOOST_LIBRARYDIR.
3944
# I am using "MinGW Distro" in this example, but also a relative path, e. g.
4045
# "vendor/boost" can be specified.
41-
set (BOOST_ROOT)
46+
set (BOOST_ROOT ON)
4247
set (Boost_NO_SYSTEM_PATHS ON)
4348
set (Boost_USE_MULTITHREADED ON)
4449
set (Boost_USE_STATIC_LIBS ON)
File renamed without changes.

include/ECMI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
const double LIMITE_INFERIOR_DELTA = 1e-8; // using for eliminate irrelevant dimension
2121
const double MAXIMUM_ANGLE_DEGREE = 90.0; // using to find worts formation of clusters give a item
2222
typedef double real_type;
23-
typedef double index;
23+
2424

2525
typedef Eigen::Matrix<real_type, Eigen::Dynamic, Eigen::Dynamic> dynamic_size_matrix;
2626
typedef Eigen::Matrix<real_type, Eigen::Dynamic, 1> column_vector_type;
File renamed without changes.

0 commit comments

Comments
 (0)